提交 e3d5e92e 编写于 作者: C chengxingzhen

用例执行完恢复时间

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 ed0976e2
...@@ -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.
先完成此消息的编辑!
想要评论请 注册