未验证 提交 4fc8ba91 编写于 作者: O openharmony_ci 提交者: Gitee

!6247 用例设置时间适配

Merge pull request !6247 from chengxingzhen/monthly_20221018
...@@ -610,6 +610,7 @@ export default function test() { ...@@ -610,6 +610,7 @@ export default function test() {
*/ */
it(`FMS_deleteForm_0700_1`, 0, async (done) => { it(`FMS_deleteForm_0700_1`, 0, async (done) => {
const tcNumber = `FMS_deleteForm_0700_1`; const tcNumber = `FMS_deleteForm_0700_1`;
let currentTime = new Date().getTime()
let formId; let formId;
let formIdB; let formIdB;
let supplyFlag = false; let supplyFlag = false;
...@@ -638,7 +639,13 @@ export default function test() { ...@@ -638,7 +639,13 @@ export default function test() {
console.info(`${tcNumber} delPublishCallbackB`); console.info(`${tcNumber} delPublishCallbackB`);
console.info(`${tcNumber} delPublishCallbackB end`); console.info(`${tcNumber} delPublishCallbackB end`);
console.info(`${tcNumber} 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() { async function deleteFormB() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册