From 1b596bb849ab9b1334c0381628069c9256b22a5f Mon Sep 17 00:00:00 2001 From: wujiqin Date: Fri, 31 Mar 2023 11:05:55 +0800 Subject: [PATCH] =?UTF-8?q?IssueNo:https://gitee.com/openharmony/notificat?= =?UTF-8?q?ion=5Fdistributed=5Fnotification=5Fservice/issues/I6RVG4=3Ffrom?= =?UTF-8?q?=3Dproject-issue=20Description:=E5=91=8A=E8=AD=A6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=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: wujiqin Change-Id: I1086f5aeb1665964209bcb2ea5451cb9bbb571ce --- .../test/unittest/mock/mock_advanced_notification_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/ans/test/unittest/mock/mock_advanced_notification_service.cpp b/services/ans/test/unittest/mock/mock_advanced_notification_service.cpp index e91a226e2..0882e1a95 100644 --- a/services/ans/test/unittest/mock/mock_advanced_notification_service.cpp +++ b/services/ans/test/unittest/mock/mock_advanced_notification_service.cpp @@ -29,7 +29,7 @@ void MockGetDistributedEnableInApplicationInfo(bool mockRet, uint8_t mockCase = g_mockAppInfoEnableRet = true; break; } - case 2: { // mock for appInfoEnable + default:{ g_mockAppInfoEnableRet = false; break; } -- Gitee