diff --git a/security/access_token/AccessTokenTest_NoPermission_js/src/main/js/default/test/AccessToken.test.js b/security/access_token/AccessTokenTest_NoPermission_js/src/main/js/default/test/AccessToken.test.js index ec3cf8880dcf200e337d0ffe8e3f370497942eca..8d524a4c919a96ee343180598f8662973e908afe 100755 --- a/security/access_token/AccessTokenTest_NoPermission_js/src/main/js/default/test/AccessToken.test.js +++ b/security/access_token/AccessTokenTest_NoPermission_js/src/main/js/default/test/AccessToken.test.js @@ -48,7 +48,6 @@ describe('AccessTokenTest',function(){ var next = (new Date()).getTime(); while (next - start < delay){ next = (new Date()).getTime(); - continue; } } diff --git a/security/access_token/AccessTokenTest_Normal_js/src/main/config.json b/security/access_token/AccessTokenTest_Normal_js/src/main/config.json index 10a5245cb992ad96b33f7200cbeddb4afdd38f58..225bf0053a5a927d0fae8c3579f6543d0a8c547d 100755 --- a/security/access_token/AccessTokenTest_Normal_js/src/main/config.json +++ b/security/access_token/AccessTokenTest_Normal_js/src/main/config.json @@ -81,7 +81,7 @@ ] } ], - "name": "ohos.acts.security.access_token.nopermission.MainAbility", + "name": "ohos.acts.security.access_token.normal.MainAbility", "icon": "$media:icon", "description": "$string:mainability_description", "label": "$string:app_name", @@ -102,4 +102,4 @@ } ] } -} \ No newline at end of file +} diff --git a/security/access_token/AccessTokenTest_Normal_js/src/main/js/default/test/AccessToken.test.js b/security/access_token/AccessTokenTest_Normal_js/src/main/js/default/test/AccessToken.test.js index 3e2bf66b027b47c878a4a6ddc54545ccde749b66..98157f814e5bac1c756686544273f5f392c7fc17 100755 --- a/security/access_token/AccessTokenTest_Normal_js/src/main/js/default/test/AccessToken.test.js +++ b/security/access_token/AccessTokenTest_Normal_js/src/main/js/default/test/AccessToken.test.js @@ -58,7 +58,6 @@ describe('AccessTokenTest', function () { var next = (new Date()).getTime(); while (next - start < delay) { next = (new Date()).getTime(); - continue; } }