diff --git a/multimedia/image/image_js_standard/imageGif/src/main/js/test/imageGif.test.js b/multimedia/image/image_js_standard/imageGif/src/main/js/test/imageGif.test.js index 12d9a3f96a88219a1c1f0ff8a73b5d9b5d01245d..c09ac6b53b4c6bd654b10b827e12edb9cbc1455e 100644 --- a/multimedia/image/image_js_standard/imageGif/src/main/js/test/imageGif.test.js +++ b/multimedia/image/image_js_standard/imageGif/src/main/js/test/imageGif.test.js @@ -115,7 +115,7 @@ export default function imageGif() { } 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(); @@ -147,7 +147,7 @@ export default function imageGif() { 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();