未验证 提交 4505faa1 编写于 作者: O openharmony_ci 提交者: Gitee

!6248 用例执行完恢复时间

Merge pull request !6248 from chengxingzhen/master
......@@ -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`);
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() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册