From 6a6dd3484d55fd1a161cec8569af11e30b0e58f7 Mon Sep 17 00:00:00 2001 From: 15829070344 Date: Mon, 17 Oct 2022 19:51:17 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=B4=A6=E5=8F=B7=E3=80=91DeleteAccou?= =?UTF-8?q?ntCredential=E5=8F=82=E6=95=B0=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 15829070344 --- .../actsaccounttest/src/main/js/test/Authenticator.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 a0928b1c8..6a8b280d8 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)); -- GitLab