From e8d1729f3eeae87f96b6ddb9a723a95b4d69cd54 Mon Sep 17 00:00:00 2001 From: nan-xiansen Date: Tue, 8 Nov 2022 15:38:55 +0800 Subject: [PATCH] =?UTF-8?q?fixed=200f58019=20from=20https://gitee.com/nan-?= =?UTF-8?q?xiansen/xts=5Facts/pulls/6430=20=E3=80=90resourceschedule?= =?UTF-8?q?=E3=80=91=E3=80=90master=E3=80=91reminderagent=20module:modify?= =?UTF-8?q?=20problem=20cases?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nan-xiansen Change-Id: I3d9b630889e11815e9e021f3d470844dd083aac2 --- .../reminderagent/src/main/js/test/ReminderAgentJs.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/test/ReminderAgentJs.test.js b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/test/ReminderAgentJs.test.js index 5b0e30fe5..fc9c43deb 100644 --- a/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/test/ReminderAgentJs.test.js +++ b/resourceschedule/resourceschedule_standard/reminderagent/src/main/js/test/ReminderAgentJs.test.js @@ -2911,7 +2911,7 @@ describe('ReminderAgentTest', function () { reminderType: reminderAgent.ReminderType.REMINDER_TYPE_TIMER, triggerTimeInSeconds: 3 } - reminderAgent.cancelAllReminders().than(() => {}) + reminderAgent.cancelAllReminders().then(() => {}) reminderAgent.publishReminder(timer).then((reminderId) => { }); reminderAgent.getValidReminders((err, reminders) => { -- GitLab