提交 28506573 编写于 作者: G gaoxi

update case

Signed-off-by: Ngaoxi <gaoxi785@huawei.com>
上级 8d2580e9
......@@ -175,7 +175,7 @@ describe("Telephony_NetStack_HttpFetchTest", function () {
success : function(data){
console.info("NetStack fetch success "+ JSON.stringify(data))
expect(data.code === 200).assertTrue()
expect(JSON.parse(data.result)["user-agent"] != undefined).assertTrue();
expect(JSON.parse(data.data)["user-agent"] != undefined).assertTrue();
done();
},
fail : function(){
......@@ -201,7 +201,7 @@ describe("Telephony_NetStack_HttpFetchTest", function () {
success : function(data){
console.info("NetStack fetch success "+ JSON.stringify(data))
expect(data.code === 200).assertTrue()
expect(JSON.parse(data.result)["user-agent"] != undefined).assertTrue();
expect(JSON.parse(data.data)["user-agent"] != undefined).assertTrue();
done();
},
fail : function(){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册