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

!9459 【杂散】【上传下载】request查询接口覆盖

Merge pull request !9459 from 张育帅/master
......@@ -51,14 +51,9 @@ export default function requestSystemJSUnit() {
value: 'value',
},
],
success: function(UploadResponse) {
console.info('====>SUB_REQUESTSYSTEM_UPLOAD_API_0001 upload success, code:' + UploadResponse.code);
},
fail: function(data, code) {
console.info('====>SUB_REQUESTSYSTEM_UPLOAD_API_0001 upload fail');
},
complete: function (){
console.info('====>SUB_REQUESTSYSTEM_UPLOAD_API_0001 upload complete');
done();
}
}
try{
......@@ -66,10 +61,10 @@ export default function requestSystemJSUnit() {
console.info('====>SUB_REQUESTSYSTEM_UPLOAD_API_0001 upload err:' + result);
expect(true).assertEqual(true);
}catch(err){
console.info('====>SUB_REQUESTSYSTEM_UPLOAD_API_0001 upload err:' + err);
console.info('====>SUB_REQUESTSYSTEM_UPLOAD_API_0001 upload catch err:' + err);
done();
}
console.info("====>-----------------------SUB_REQUESTSYSTEM_UPLOAD_API_0001 end-----------------------");
done();
});
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册