From f4e5f7486a3271ac11385efcb955d1ac3e118097 Mon Sep 17 00:00:00 2001 From: fangJinliang1 Date: Sat, 24 Sep 2022 17:55:20 +0800 Subject: [PATCH] fixed e9fae46 from https://gitee.com/fangJinliang1/xts_acts/pulls/5661 xts modify Signed-off-by: fangJinliang1 Change-Id: I9c9ef2a2a042182d1884307fdaa0baa19ab3af96 --- .../src/main/js/test/ActsNotificationDistributedTest.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notification/ans_standard/actsNotificationDistributedTest/src/main/js/test/ActsNotificationDistributedTest.js b/notification/ans_standard/actsNotificationDistributedTest/src/main/js/test/ActsNotificationDistributedTest.js index c0c258d11..aca3a6b1d 100644 --- a/notification/ans_standard/actsNotificationDistributedTest/src/main/js/test/ActsNotificationDistributedTest.js +++ b/notification/ans_standard/actsNotificationDistributedTest/src/main/js/test/ActsNotificationDistributedTest.js @@ -29,7 +29,7 @@ export default function ActsNotificationDistributedTest() { done() } else { console.info(`${TAG} isDistributedEnabled AsyncCallback success: ${data}`) - expect(data).assertTrue() + expect(data).assertEqual(false); done() } }) @@ -40,7 +40,7 @@ export default function ActsNotificationDistributedTest() { console.info(`${TAG} SUB_NOTIFICATION_ANS_IS_DISTRIBUTED_ENABLED_TEST_0200 START`) notification.isDistributedEnabled().then((data) => { console.info(`${TAG} isDistributedEnabled Promise success: ${data}`) - expect(data).assertTrue() + expect(data).assertEqual(false); done() }).catch((err) => { console.info(`${TAG} isDistributedEnabled Promise err: ${err.code}`) -- GitLab