提交 228247e2 编写于 作者: 1 15829070344 提交者: 何海涛

fixed 6a6dd348 from https://gitee.com/murphy1984/acts/pulls/5938

【账号】DeleteAccountCredential参数调整
Signed-off-by: N15829070344 <hehaitao5@huawei.com>
上级 52f2b137
...@@ -370,7 +370,7 @@ export default function ActsAccountAppAccess() { ...@@ -370,7 +370,7 @@ export default function ActsAccountAppAccess() {
appAccountManager.addAccount(name, (err)=>{ appAccountManager.addAccount(name, (err)=>{
console.debug("====>ActsAccountDeleteAccountCredential_0100 add_account_err:" + JSON.stringify(err)); console.debug("====>ActsAccountDeleteAccountCredential_0100 add_account_err:" + JSON.stringify(err));
expect(err).assertEqual(null); 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)); console.debug("====>ActsAccountDeleteAccountCredential_0100 setAccountCredential_err:" + JSON.stringify(err));
expect(err).assertEqual(null); expect(err).assertEqual(null);
appAccountManager.getAccountCredential(name, "PIN", (err, data) =>{ appAccountManager.getAccountCredential(name, "PIN", (err, data) =>{
...@@ -409,7 +409,7 @@ export default function ActsAccountAppAccess() { ...@@ -409,7 +409,7 @@ export default function ActsAccountAppAccess() {
var appAccountManager = account.createAppAccountManager(); var appAccountManager = account.createAppAccountManager();
appAccountManager.addAccount(name, 'test_extraInfo').then((data) =>{ appAccountManager.addAccount(name, 'test_extraInfo').then((data) =>{
console.debug("====>ActsAccountDeleteAccountCredential_0200 add_account_success"); console.debug("====>ActsAccountDeleteAccountCredential_0200 add_account_success");
appAccountManager.setAccountCredential(name, "PIN").then(() =>{ appAccountManager.setAccountCredential(name, "PIN", '123456').then(() =>{
console.debug("====>ActsAccountDeleteAccountCredential_0200 setAccountCredential_success"); console.debug("====>ActsAccountDeleteAccountCredential_0200 setAccountCredential_success");
appAccountManager.getAccountCredential(name, "PIN").then((data) =>{ appAccountManager.getAccountCredential(name, "PIN").then((data) =>{
console.debug("====>ActsAccountDeleteAccountCredential_0200 getAccountCredential_data:" + JSON.stringify(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.
先完成此消息的编辑!
想要评论请 注册