diff --git a/multimedia/image/image_js_standard/crossplatform/image/src/main/ets/test/ImageSource.test.ets b/multimedia/image/image_js_standard/crossplatform/image/src/main/ets/test/ImageSource.test.ets index 2c56a13ad90689d36b7c28850e6bdbf91e943ca1..7cfc1d53ff6ab014914a61ba9726d24b7adb6635 100644 --- a/multimedia/image/image_js_standard/crossplatform/image/src/main/ets/test/ImageSource.test.ets +++ b/multimedia/image/image_js_standard/crossplatform/image/src/main/ets/test/ImageSource.test.ets @@ -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();