diff --git a/account/appaccount/actsaccounttest/src/main/js/test/Authenticator.test.js b/account/appaccount/actsaccounttest/src/main/js/test/Authenticator.test.js index a0928b1c80d3add2f46b6abd7bf03e470899b71d..6a8b280d83e4bbcdc942d7ce29f47c15ce890edf 100644 --- a/account/appaccount/actsaccounttest/src/main/js/test/Authenticator.test.js +++ b/account/appaccount/actsaccounttest/src/main/js/test/Authenticator.test.js @@ -344,7 +344,7 @@ export default function ActsAccountAppAccess() { appAccountManager.addAccount(name, (err)=>{ console.debug("====>ActsAccountDeleteAccountCredential_0100 add_account_err:" + JSON.stringify(err)); expect(err).assertEqual(null); - appAccountManager.setAccountCredential(name, "PIN", (err, data)=>{ + appAccountManager.setAccountCredential(name, "PIN", '123456', (err, data)=>{ console.debug("====>ActsAccountDeleteAccountCredential_0100 setAccountCredential_err:" + JSON.stringify(err)); expect(err).assertEqual(null); console.debug("====>ActsAccountDeleteAccountCredential_0100 setAccountCredential_data:" + JSON.stringify(data)); @@ -384,7 +384,7 @@ export default function ActsAccountAppAccess() { var appAccountManager = account.createAppAccountManager(); appAccountManager.addAccount(name, 'test_extraInfo').then((data) =>{ console.debug("====>ActsAccountDeleteAccountCredential_0200 add_account_success"); - appAccountManager.setAccountCredential(name, "PIN").then(() =>{ + appAccountManager.setAccountCredential(name, "PIN", '123456').then(() =>{ console.debug("====>ActsAccountDeleteAccountCredential_0200 setAccountCredential_success"); appAccountManager.getAccountCredential(name, "PIN").then((data) =>{ console.debug("====>ActsAccountDeleteAccountCredential_0200 getAccountCredential_data:" + JSON.stringify(data));