提交 6a6dd348 编写于 作者: 1 15829070344

【账号】DeleteAccountCredential参数调整

Signed-off-by: N15829070344 <hehaitao5@huawei.com>
上级 b72d47ff
......@@ -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.
先完成此消息的编辑!
想要评论请 注册