未验证 提交 59b7ae5d 编写于 作者: O openharmony_ci 提交者: Gitee

!9592 更新用例接口

Merge pull request !9592 from 黄开兴/master
......@@ -239,7 +239,7 @@ export default function ImageSource() {
} else {
try {
console.info(`${testNum} getDelayTimePromise create imagesource success`);
let delayTimes = await imageSourceApi.getDelayTime();
let delayTimes = await imageSourceApi.getDelayTimeList();
if (delayTimes != undefined) {
console.info(`${testNum} getDelayTimePromise getDelayTime success`);
expect(true).assertTrue();
......@@ -270,7 +270,7 @@ export default function ImageSource() {
done();
} else {
console.info(`${testNum} getDelayTimeCallBack create imagesource success`);
imageSourceApi.getDelayTime((err, delayTimes) => {
imageSourceApi.getDelayTimeList((err, delayTimes) => {
if (err != undefined) {
console.info(`${testNum} getDelayTimeCallBack getDelayTime failed err: ${err}`);
expect(false).assertTrue();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册