diff --git a/notification/ans_standard/publish_test/getactive/actsansgetactive/entry/src/main/js/test/getActive.js b/notification/ans_standard/publish_test/getactive/actsansgetactive/entry/src/main/js/test/getActive.js index e334a94db3c66cb4a099e922588811324f1f9fba..49cca58a0a16b196df710cf9e8310299641f778e 100644 --- a/notification/ans_standard/publish_test/getactive/actsansgetactive/entry/src/main/js/test/getActive.js +++ b/notification/ans_standard/publish_test/getactive/actsansgetactive/entry/src/main/js/test/getActive.js @@ -1003,7 +1003,7 @@ describe('ActsAnsActiveTest', function () { function getAllCallbackNine(err,data){ console.debug("===========Ans_GetAllActive_0900 getAllCallbackNine data.length============>"+data.length); console.debug("===========Ans_GetAllActive_0900 getAllCallbackNine err.code============>"+err.code); - expect(err.code != 0).assertEqual(true); + expect(err.code).assertEqual(0); } /* @@ -1062,8 +1062,8 @@ describe('ActsAnsActiveTest', function () { console.debug("===============Ans_GetAllActive_1000 publish CurrentApp notify end==================>"); await notify.getAllActiveNotifications().then(()=>{ console.debug("=======Ans_GetAllActive_1000 then========>"); + expect(err.code).assertEqual(0); }).catch((err)=>{ - expect(err.code != 0).assertEqual(true); console.debug("=======Ans_GetAllActive_1000 err==========>"+err.code); }); setTimeout(function(){ diff --git a/notification/ans_standard/publish_test/getactive/actsansgetactive/signature/openharmony_sx.p7b b/notification/ans_standard/publish_test/getactive/actsansgetactive/signature/openharmony_sx.p7b index f06e218defa7f707e22a3890903c574e1c498217..cc53179a48f88f20acc379c138a001e9a15838f6 100644 Binary files a/notification/ans_standard/publish_test/getactive/actsansgetactive/signature/openharmony_sx.p7b and b/notification/ans_standard/publish_test/getactive/actsansgetactive/signature/openharmony_sx.p7b differ