提交 71122234 编写于 作者: H HuangXW

modify testcase

Change-Id: I6c2272a850e8bdc605f22e21669f91e3e2176953
Signed-off-by: NHuangXW <huangxinwei4@huawei.com>
上级 13d4e6b0
......@@ -905,7 +905,8 @@ export default function formHostTest() {
let TAG = 'System_API_Test_Form_Host_3500';
try {
let formId = "1337079774";
formHost.shareForm(formId, null, (error, data) => {
let deviceId = "12400633174999288";
formHost.shareForm(formId, deviceId, (error, data) => {
if (error) {
console.log(TAG + ' formHost shareForm, error:' + JSON.stringify(error));
expect(error.code).assertEqual(ERROR_CODE);
......@@ -929,8 +930,9 @@ export default function formHostTest() {
*/
it('System_API_Test_Form_Host_3600',0, async function (done) {
let TAG = 'System_API_Test_Form_Host_3600';
let formId = "12400633174999288";
formHost.shareForm(formId, null)
let formId = "1337079774";
let deviceId = "12400633174999288";
formHost.shareForm(formId, deviceId)
.then(() => {
expect().assertFail();
done();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册