Merge pull request !1093 from 居凯/master
This commit is contained in:
openharmony_ci 2024-10-31 10:05:39 +00:00 committed by Gitee
commit 9de247cb41
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -144,7 +144,7 @@ HWTEST_F(UserIdmServiceTest, UserIdmServiceGetCredentialInfo001, TestSize.Level0
EXPECT_EQ(ret, CHECK_PERMISSION_FAILED);
IpcCommon::AddPermission(USE_USER_IDM_PERMISSION);
ret = service.GetCredentialInfo(testUserId, testAuthType, testCallback);
EXPECT_EQ(ret, NOT_ENROLLED);
EXPECT_EQ(ret, GENERAL_ERROR);
IpcCommon::DeleteAllPermission();
}