未验证 提交 a90d2e8e 编写于 作者: O openharmony_ci 提交者: Gitee

!6344 【账号】DeleteAccountCredential参数调整

Merge pull request !6344 from 何海涛/cherry-pick-1667465190
......@@ -370,7 +370,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);
appAccountManager.getAccountCredential(name, "PIN", (err, data) =>{
......@@ -409,7 +409,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));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册