提交 63819629 编写于 作者: S smartltt

fixed 9d816346 from https://gitee.com/smartltt/xts_acts/pulls/8430

master api接口参数优化
Signed-off-by: Nsmartltt <litingting86@huawei.com>
Change-Id: I9998a3b8ee3b440fdbfa667910282590684f15b9
上级 c6f40d8e
......@@ -2799,12 +2799,11 @@ export default function ReminderAgentTest() {
let maxLimitNumsOfApp = 30;
let firstId = 0;
let secondId = 0;
let diffId = 0
reminderAgent.cancelAllReminders().then(() =>{
let diffId = 0;
let remiderId;
await reminderAgent.cancelAllReminders();
for (let i = 0; i < maxLimitNumsOfApp; i++) {
(function (i) {
setTimeout(function () {
reminderAgent.publishReminder(timer).then((reminderId) => {
remiderId = await reminderAgent.publishReminder(timer);
if (i === 0) {
firstId = reminderId
}
......@@ -2813,12 +2812,8 @@ export default function ReminderAgentTest() {
diffId = secondId - firstId
expect(29).assertEqual(diffId);
done();
};
}
});
}, 500);
})(i);
}
})
})
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册