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

!5938 【账号】DeleteAccountCredential参数调整

Merge pull request !5938 from 何海涛/hht1017
......@@ -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));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册