diff --git a/ability/ability_runtime/amscontextualinforquery/actsamsstaticabilitystagecontexttest/entry/src/main/ets/test/Ability.test.ets b/ability/ability_runtime/amscontextualinforquery/actsamsstaticabilitystagecontexttest/entry/src/main/ets/test/Ability.test.ets index 6df8cd32f3e8b4f2be7977180c7c7ace39ec0d21..07bc2ebff086e4be188aa2d605309785637bb260 100644 --- a/ability/ability_runtime/amscontextualinforquery/actsamsstaticabilitystagecontexttest/entry/src/main/ets/test/Ability.test.ets +++ b/ability/ability_runtime/amscontextualinforquery/actsamsstaticabilitystagecontexttest/entry/src/main/ets/test/Ability.test.ets @@ -193,7 +193,6 @@ export default function abilityTest() { expect(data.metadata.length).assertEqual(0); expect(data.deviceTypes[0]).assertEqual('default'); expect(data.deviceTypes[1]).assertEqual('tablet'); - expect(data.deviceTypes[2]).assertEqual('2in1'); expect(data.installationFree).assertEqual(false); expect(data.hashValue).assertEqual(''); expect(data.type).assertEqual(bundleManager.ModuleType.ENTRY); diff --git a/ability/ability_runtime/amscontextualinforquery/actsamsstaticinfomationquerytest/entry/src/main/ets/test/Ability.test.ets b/ability/ability_runtime/amscontextualinforquery/actsamsstaticinfomationquerytest/entry/src/main/ets/test/Ability.test.ets index cef605a7af83065563a4a6d9f8bda01844cc27a4..65490d4d035e5d984b84f6b1d83fc5a0d85b3785 100644 --- a/ability/ability_runtime/amscontextualinforquery/actsamsstaticinfomationquerytest/entry/src/main/ets/test/Ability.test.ets +++ b/ability/ability_runtime/amscontextualinforquery/actsamsstaticinfomationquerytest/entry/src/main/ets/test/Ability.test.ets @@ -206,8 +206,6 @@ export default function abilityTest() { expect(data.uri).assertEqual(""); expect(data.deviceTypes[0]).assertEqual("default"); expect(data.deviceTypes[1]).assertEqual("tablet"); - expect(data.deviceTypes[2]).assertEqual("2in1"); - expect(data.deviceTypes.length).assertEqual(3); expect(data.applicationInfo.name).assertEqual("com.acts.staticinfomationquery"); expect(data.applicationInfo.description).assertEqual("$string:description_application"); @@ -397,7 +395,6 @@ export default function abilityTest() { expect(data.metadata.length).assertEqual(0); expect(data.deviceTypes[0]).assertEqual("default"); expect(data.deviceTypes[1]).assertEqual("tablet"); - expect(data.deviceTypes[2]).assertEqual("2in1"); expect(data.installationFree).assertEqual(false); expect(data.hashValue).assertEqual(''); expect(data.type).assertEqual(bundleManager.ModuleType.ENTRY);