diff --git a/security/access_token/AccessTokenTest_Normal_js/src/main/js/test/AccessToken.test.js b/security/access_token/AccessTokenTest_Normal_js/src/main/js/test/AccessToken.test.js index f5cc352e0888132ea8ec82d89525083b59ed1166..37192cd892f9c29766220328e21d7ed4c7d509b6 100644 --- a/security/access_token/AccessTokenTest_Normal_js/src/main/js/test/AccessToken.test.js +++ b/security/access_token/AccessTokenTest_Normal_js/src/main/js/test/AccessToken.test.js @@ -22,7 +22,7 @@ import osAccount from '@ohos.account.osAccount' var PermissionFlag = { PERMISSION_USER_SET: 1, PERMISSION_USER_FIXED: 2, - PERMISSION_SYSTEM_FIXED: 3 + PERMISSION_SYSTEM_FIXED: 4 }; var GrantStatus = { @@ -42,7 +42,7 @@ export default function AccessTokenTest() { describe('AccessTokenTest', function () { console.info('##########start AccessTokenTest'); beforeAll(async function (done){ - var accountManager = osAccount.getAccountManager(); + var accountManager = osAccount.getAccountManager(); var userId = await accountManager.getOsAccountLocalIdFromProcess(); var appInfo = await bundle.getApplicationInfo('ohos.acts.security.access_token.normal', 0, userId); tokenID = appInfo.accessTokenId;