From a8011190c8a078253c738d731890e2b1bc9e0b50 Mon Sep 17 00:00:00 2001 From: huangkaixing Date: Thu, 13 Jul 2023 09:53:36 +0800 Subject: [PATCH] change name of getDelayTime Signed-off-by: huangkaixing --- .../imageGif/src/main/js/test/imageGif.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 12d9a3f96..c09ac6b53 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(); -- GitLab