提交 328eff0b 编写于 作者: D dhy308

Merge PR 7520.

PR:https://gitee.com/openharmony/xts_acts/pulls/7520

Issue: I6E1HI
Test: Build & Boot Devices
Signed-off-by: Ndhy308 <tony.gan@huawei.com>
上级 36a42c56
...@@ -227,7 +227,7 @@ HWTEST_F(ActsPMSUpdatePermissionTest, testSecPMUpdatePMFlags_6500, Function | Me ...@@ -227,7 +227,7 @@ HWTEST_F(ActsPMSUpdatePermissionTest, testSecPMUpdatePMFlags_6500, Function | Me
EXPECT_EQ(ret, PERM_ERRORCODE_INVALID_PARAMS) << "update perms flag ret =" << ret << endl; EXPECT_EQ(ret, PERM_ERRORCODE_INVALID_PARAMS) << "update perms flag ret =" << ret << endl;
// pkg flag empty // pkg flag empty
ret = g_interface->UpdatePermissionFlags(TEST_APP_ID, g_systemPers[0].name, NULL); ret = g_interface->UpdatePermissionFlags(TEST_APP_ID, g_systemPers[0].name, 0);
EXPECT_EQ(ret, PERM_ERRORCODE_SUCCESS) << "update perms flag ret =" << ret << endl; EXPECT_EQ(ret, PERM_ERRORCODE_SUCCESS) << "update perms flag ret =" << ret << endl;
ClrPers(permissions); ClrPers(permissions);
...@@ -334,4 +334,4 @@ HWTEST_F(ActsPMSUpdatePermissionTest, testSecPMUpdatePMFlags_6800, Function | Me ...@@ -334,4 +334,4 @@ HWTEST_F(ActsPMSUpdatePermissionTest, testSecPMUpdatePMFlags_6800, Function | Me
UnLoadPermissions(TEST_TASKID); UnLoadPermissions(TEST_TASKID);
DeletePermissions(TEST_APP_ID); DeletePermissions(TEST_APP_ID);
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册