未验证 提交 4568f9a5 编写于 作者: O openharmony_ci 提交者: Gitee

!8886 【XTS】【communication】lbs流水线问题修改

Merge pull request !8886 from 权力/myfeature
......@@ -111,7 +111,7 @@ describe('geolocationTest_6', function () {
geolocationm.off('countryCodeChange',1);
} catch (error) {
console.info("[lbs_js] countryCodeOff3 try error:"+ JSON.stringify(error) +"code"+ error.code +"mes"+ error.message);
expect(error.code).assertEqual("401");
expect(true).assertFalse();
}
})
......@@ -163,7 +163,7 @@ describe('geolocationTest_6', function () {
geolocationm.off('cachedGnssLocationsChange',1);
} catch (error) {
console.info("[lbs_js] cacheOff9 try error:"+ JSON.stringify(error) +"code"+ error.code +"mes"+ error.message);
expect(error.code).assertEqual("401");
expect(error.code).assertEqual("801");
}
})
......
......@@ -157,10 +157,10 @@ describe('geolocationTest_LocErr', function () {
console.info("[wifi_test] getCurrentLocation2 promise:" + JSON.stringify(result));
} catch(error) {
console.info('[lbs_js] getCurrentLocation2 promise try err:' + JSON.stringify(error) +"code"+ error.code +"mes"+ error.message);
expect(error.code).assertEqual("401");
expect(error.code).assertEqual(3301200);
}
})();
await sleep(600);
await sleep(4000);
done();
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册