diff --git a/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/getAbilityInfoJsunit.test.ets b/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/getAbilityInfoJsunit.test.ets index 5334cf1b072636cfa94667ef3249b64f3e25d8f1..78142b319613dc512d8e0e26edf2cfacdbc75be2 100644 --- a/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/getAbilityInfoJsunit.test.ets +++ b/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/getAbilityInfoJsunit.test.ets @@ -210,7 +210,7 @@ export default function getHapModuleInfoJsunit() { expect(data.descriptionId > 0).assertTrue(); expect(data.iconId > 0).assertTrue(); expect(data.moduleName).assertEqual("entry"); - expect(data.process).assertEqual(""); + expect(data.process).assertEqual("com.ohos.acecollaboration"); expect(data.targetAbility).assertEqual(""); expect(data.backgroundModes).assertEqual(0); expect(data.isVisible).assertEqual(true); @@ -283,13 +283,13 @@ export default function getHapModuleInfoJsunit() { expect(typeof (info.entryDir)).assertEqual("string"); expect(info.name).assertEqual("com.ohos.acecollaboration"); - expect(info.description).assertEqual("$string:mainability_description"); - expect(info.descriptionId > 0).assertTrue(); + expect(info.description).assertEqual(""); + expect(info.descriptionId).assertEqual(0); expect(info.systemApp).assertEqual(true); expect(info.enabled).assertEqual(true); expect(info.label).assertEqual("$string:entry_MainAbility"); expect(info.icon).assertEqual("$media:icon"); - expect(info.process).assertEqual(""); + expect(info.process).assertEqual("com.ohos.acecollaboration"); expect(info.supportedModes).assertEqual(0); expect(info.entryDir).assertEqual("/data/app/el1/bundle/public/" + "com.ohos.acecollaboration/com.ohos.acecollaboration"); diff --git a/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/getHapModuleInfoJsunit.test.ets b/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/getHapModuleInfoJsunit.test.ets index d24577b3b0b6698d78c24668190786deb191b826..56306da7752bd5642a4849c1b55e6e0e0349e7d6 100644 --- a/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/getHapModuleInfoJsunit.test.ets +++ b/aafwk/aafwk_standard/actsabilitymanageretstest/entry/src/main/ets/MainAbility/test/getHapModuleInfoJsunit.test.ets @@ -208,7 +208,7 @@ export default function getHapModuleInfoJsunit() { expect(data.description).assertEqual("$string:mainability_description"); expect(data.icon).assertEqual("$media:icon"); expect(data.moduleName).assertEqual("entry"); - expect(data.process).assertEqual(""); + expect(data.process).assertEqual("com.ohos.acecollaboration"); expect(data.targetAbility).assertEqual(""); expect(data.backgroundModes).assertEqual(0); expect(data.isVisible).assertEqual(true);