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 98157f814e5bac1c756686544273f5f392c7fc17..61b0391142a13a50afd6cd869e7c03a7a8baae18 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 @@ -185,7 +185,7 @@ describe('AccessTokenTest', function () { console.log("Test_grantUserGrantedPermission_003 start"); var atManager = abilityAccessCtrl.createAtManager(); atManager.grantUserGrantedPermission(tokenID, permissionNameUser, PermissionFlag.PERMISSION_USER_SET, - function (result) { + function (err, result) { console.log("Test_grantUserGrantedPermission_003 tokenID" + tokenID + "-" + result) expect(result).assertEqual(RESULT_SUCCESS); @@ -292,7 +292,7 @@ describe('AccessTokenTest', function () { console.log("Test_revokeUserGrantedPermission_003 start"); var atManager = abilityAccessCtrl.createAtManager(); atManager.revokeUserGrantedPermission(tokenID, permissionNameUser, PermissionFlag.PERMISSION_USER_SET, - function (result) { + function (err, result) { console.log("Test_revokeUserGrantedPermission_003 tokenID" + tokenID + "-" + result) expect(result).assertEqual(RESULT_SUCCESS);