diff --git a/account/appaccount/actsaccounttest/entry/src/main/js/test/OAuthToken.test.js b/account/appaccount/actsaccounttest/entry/src/main/js/test/OAuthToken.test.js index 2a1e0a098d47a8b9478ecf3a93474cada68bbcbf..742158473c42655441fa7e8012ef0345ab4dbbe2 100644 --- a/account/appaccount/actsaccounttest/entry/src/main/js/test/OAuthToken.test.js +++ b/account/appaccount/actsaccounttest/entry/src/main/js/test/OAuthToken.test.js @@ -3388,11 +3388,13 @@ describe('ActsAccountOAuthToken', function () { it('ActsAccountOAuthToken_28500', 0, async function (done) { console.debug("====>ActsAccountOAuthToken_28500 start===="); var appAccountManager = account.createAppAccountManager(); - var dataInfo = await appAccountManager.getAuthenticatorInfo("com.example.actsaccountOauthtoken").catch((err)=>{ + var dataInfo = await appAccountManager.getAuthenticatorInfo + ("com.example.actsaccountOauthtoken").catch((err)=>{ console.debug("====>ActsAccountOAuthToken_28500 getAuthenticatorInfo err:" + JSON.stringify(err)); expect(err.code).assertEqual(0); }); - console.debug("====>ActsAccountOAuthToken_28500 getAuthenticatorInfo dataInfo:" + JSON.stringify(dataInfo)); + console.debug("====>ActsAccountOAuthToken_28500 getAuthenticatorInfo dataInfo:" + + JSON.stringify(dataInfo)); done(); }); }) \ No newline at end of file