提交 0f58019f 编写于 作者: N nan-xiansen

【resourceschedule】【master】reminderagent module:modify problem cases

Signed-off-by: Nnan-xiansen <nanjinbin@huawei.com>
Change-Id: I3d9b630889e11815e9e021f3d470844dd083aac2
上级 4665e968
...@@ -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.
先完成此消息的编辑!
想要评论请 注册