提交 791b00b2 编写于 作者: Z zhijianwen

getactive

Signed-off-by: Nzhijianwen <zhijianwen@huawei.com>
上级 ec59c6ab
......@@ -1003,7 +1003,7 @@ describe('ActsAnsActiveTest', function () {
function getAllCallbackNine(err,data){
console.debug("===========Ans_GetAllActive_0900 getAllCallbackNine data.length============>"+data.length);
console.debug("===========Ans_GetAllActive_0900 getAllCallbackNine err.code============>"+err.code);
expect(err.code != 0).assertEqual(true);
expect(err.code).assertEqual(0);
}
/*
......@@ -1062,8 +1062,8 @@ describe('ActsAnsActiveTest', function () {
console.debug("===============Ans_GetAllActive_1000 publish CurrentApp notify end==================>");
await notify.getAllActiveNotifications().then(()=>{
console.debug("=======Ans_GetAllActive_1000 then========>");
expect(err.code).assertEqual(0);
}).catch((err)=>{
expect(err.code != 0).assertEqual(true);
console.debug("=======Ans_GetAllActive_1000 err==========>"+err.code);
});
setTimeout(function(){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册