diff --git a/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/ApiCoverAbility.test.ets b/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/ApiCoverAbility.test.ets index c14a130d8de5fdbcab129d17208c6fee6b38eebf..4847e264d7f59006006c7ca76653836506656dc1 100644 --- a/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/ApiCoverAbility.test.ets +++ b/ability/ability_runtime/apicover/apicoverhaptest/entry/src/main/ets/test/ApiCoverAbility.test.ets @@ -395,7 +395,7 @@ function checkFormInfoModule1(formInfo){ expect(formInfo.isDefault).assertTrue() expect(formInfo.updateEnabled).assertTrue() expect(formInfo.formVisibleNotify).assertFalse() - expect(undefined).assertEqual(formInfo.relatedBundleName) + expect('').assertEqual(formInfo.relatedBundleName) expect("ability://xxxxx").assertEqual(formInfo.formConfigAbility) expect(1).assertEqual(formInfo.updateDuration) expect(2).assertEqual(formInfo.defaultDimension) @@ -413,7 +413,7 @@ function checkFormInfo(formInfo){ expect(formInfo.isDefault).assertTrue() expect(formInfo.updateEnabled).assertTrue() expect(formInfo.formVisibleNotify).assertFalse() - expect(undefined).assertEqual(formInfo.relatedBundleName) + expect('').assertEqual(formInfo.relatedBundleName) expect("ability://xxxxx").assertEqual(formInfo.formConfigAbility) expect(1).assertEqual(formInfo.updateDuration) expect(2).assertEqual(formInfo.defaultDimension)