提交 5c804532 编写于 作者: X xinking129

fix call 1700 case failed

Signed-off-by: Nxinking129 <xinxin13@huawei.com>
上级 07cb6525
......@@ -517,13 +517,13 @@ export default function abilityTest() {
bundleName: systemAppCalleeABundleName,
abilityName: systemAppCalleeAThirdAbilityName,
}).then(data => {
console.log('ACTS_CommonComponent_Call_1700 call ok return is ' + JSON.stringify(data));
if (data != null) {
exceptionFlag = true;
}
}).catch(err => {
expect().assertFail();
done();
}).catch(err => {
console.log('ACTS_CommonComponent_Call_1700 call err.code: ' + JSON.stringify(err.code) +
' err.msg: ' + JSON.stringify(err.message));
expect(err.code).assertEqual(ERROR_CODE_TYPE_ERROR);
exceptionFlag = true;
});
expect(exceptionFlag).assertEqual(true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册