diff --git a/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formacquiretest/entry/src/main/ets/test/FmsAcquireForm.test.ets b/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formacquiretest/entry/src/main/ets/test/FmsAcquireForm.test.ets index aef4000c84217a23b188e633069f1212276b5045..e20ede1bbea2a817efd2e358689a13a052631948 100644 --- a/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formacquiretest/entry/src/main/ets/test/FmsAcquireForm.test.ets +++ b/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formacquiretest/entry/src/main/ets/test/FmsAcquireForm.test.ets @@ -1564,7 +1564,7 @@ export default function test() { function onCastCallBack(_, data) { console.info("!!!====>FMS_acquireForm_2600 onCastCallBack data:====>" + JSON.stringify(data)); expect(data.event).assertEqual("FMS_FormCast_commonEvent"); - expect(data.data).assertEqual("undefined"); + expect(data.data).assertEqual("0"); commonEvent.unsubscribe(subscriberCast, () => unsubscribeOnCastCallback("FMS_acquireForm_2600")) formId1 = data.parameters.formId; console.info("!!!====>FMS_acquireForm_2600 formId1 " + formId1 + " formId2 " + formId2); diff --git a/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formstresstest/entry/src/main/ets/test/FmsStress.test.ets b/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formstresstest/entry/src/main/ets/test/FmsStress.test.ets index e23601167a51d1998aa7155c8f3962308f502e07..dabf7a7ce59995cbfeaf1b68dad4bca21be1b492 100644 --- a/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formstresstest/entry/src/main/ets/test/FmsStress.test.ets +++ b/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formstresstest/entry/src/main/ets/test/FmsStress.test.ets @@ -553,7 +553,7 @@ export default function test() { const systemstatus = await formHost.isSystemReady(); console.info(`${tcNumber} systemstatus: ${JSON.stringify(systemstatus)}`); - expect(systemstatus).assertEqual(undefined); + expect(systemstatus).assertTrue() done(); }); });