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

!6431 【resourceshedule】【monthly_20221018】提醒代理模块:问题用例优化

Merge pull request !6431 from 南先森/cherry-pick-1667894541
...@@ -2911,7 +2911,7 @@ describe('ReminderAgentTest', function () { ...@@ -2911,7 +2911,7 @@ describe('ReminderAgentTest', function () {
reminderType: reminderAgent.ReminderType.REMINDER_TYPE_TIMER, reminderType: reminderAgent.ReminderType.REMINDER_TYPE_TIMER,
triggerTimeInSeconds: 3 triggerTimeInSeconds: 3
} }
reminderAgent.cancelAllReminders().than(() => {}) reminderAgent.cancelAllReminders().then(() => {})
reminderAgent.publishReminder(timer).then((reminderId) => { }); reminderAgent.publishReminder(timer).then((reminderId) => { });
reminderAgent.getValidReminders((err, reminders) => { reminderAgent.getValidReminders((err, reminders) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册