From 2ee67a3542a51d38ad1435bb6fa0640a565e4ddd Mon Sep 17 00:00:00 2001 From: wwx1143030 Date: Thu, 29 Sep 2022 10:04:17 +0800 Subject: [PATCH] =?UTF-8?q?IssueNo:https://gitee.com/openharmony/notificat?= =?UTF-8?q?ion=5Fcommon=5Fevent=5Fservice/issues/I5TQIF=20Description:Adva?= =?UTF-8?q?ncedNotificationServiceTest=5F15300=E9=85=8D=E7=BD=AE=E6=B8=85?= =?UTF-8?q?=E7=90=86=20Sig:SIG=5FApplicationFramework=20Feature=20or=20Bug?= =?UTF-8?q?fix:Bugfix=20Binary=20Source:=20No?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wwx1143030 Change-Id: I861e302df082a99f26d96dcc40f2651cf85c4579 --- .../ans/test/unittest/advanced_notification_service_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/services/ans/test/unittest/advanced_notification_service_test.cpp b/services/ans/test/unittest/advanced_notification_service_test.cpp index 5c9738607..e0aba8c89 100644 --- a/services/ans/test/unittest/advanced_notification_service_test.cpp +++ b/services/ans/test/unittest/advanced_notification_service_test.cpp @@ -2002,6 +2002,7 @@ HWTEST_F(AdvancedNotificationServiceTest, AdvancedNotificationServiceTest_15300, int32_t userId = 4; std::vector dumpInfo; EXPECT_EQ(advancedNotificationService_->ShellDump(cmd, bundle, userId, dumpInfo), (int)ERR_ANS_INVALID_PARAM); + IPCSkeleton::SetCallingTokenID(NON_NATIVE_TOKEN); } /** -- Gitee