From e3d5e92ef4ffeb9e5481614aa423c290998aff50 Mon Sep 17 00:00:00 2001 From: chengxingzhen Date: Sat, 29 Oct 2022 18:31:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E4=BE=8B=E6=89=A7=E8=A1=8C=E5=AE=8C?= =?UTF-8?q?=E6=81=A2=E5=A4=8D=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chengxingzhen --- .../entry/src/main/ets/test/FmsDeleteForm.test.ets | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formdeletetest/entry/src/main/ets/test/FmsDeleteForm.test.ets b/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formdeletetest/entry/src/main/ets/test/FmsDeleteForm.test.ets index 3cedbffb3..571dae6c8 100644 --- a/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formdeletetest/entry/src/main/ets/test/FmsDeleteForm.test.ets +++ b/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formdeletetest/entry/src/main/ets/test/FmsDeleteForm.test.ets @@ -610,6 +610,7 @@ export default function test() { */ it(`FMS_deleteForm_0700_1`, 0, async (done) => { const tcNumber = `FMS_deleteForm_0700_1`; + let currentTime = new Date().getTime() let formId; let formIdB; let supplyFlag = false; @@ -638,7 +639,13 @@ export default function test() { console.info(`${tcNumber} delPublishCallbackB`); console.info(`${tcNumber} delPublishCallbackB end`); console.info(`${tcNumber} end`); - done(); + await systemTime.setTime(currentTime).then((data)=>{ + console.info(`${tcNumber} setTime ${JSON.stringify(data)}`); + done(); + }).catch((error)=>{ + console.info(`${tcNumber} setTime ${JSON.stringify(error)}`); + done(); + }) } async function deleteFormB() { -- GitLab