未验证 提交 523ebd3f 编写于 作者: 黄开兴 提交者: Gitee

更新接口

Signed-off-by: N黄开兴 <huangkaixing@huawei.com>
上级 cf23fb7e
......@@ -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.
先完成此消息的编辑!
想要评论请 注册