From 91c09451deb70f54e2e883c6e13fdad55655b1e2 Mon Sep 17 00:00:00 2001 From: yu Date: Tue, 14 Mar 2023 09:28:31 +0000 Subject: [PATCH] fixed 3f7d8e1 from https://gitee.com/y1585740638/xts_acts/pulls/7968 change PERMISSION_SYSTEM_FIXED Signed-off-by: yu Change-Id: If2a16d17dca5f81663159734954e27b8dc34d916 --- .../src/main/js/test/AccessToken.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 f5cc352e0..37192cd89 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; -- GitLab