From 52b078ee0276fbda860d7acf9d29c5fb35542030 Mon Sep 17 00:00:00 2001 From: KrupaNagabhushan Date: Tue, 21 Feb 2023 14:22:14 +0000 Subject: Fix instance declared inputs mapped to substitution mapping Issue-ID: SDC-4410 Signed-off-by: KrupaNagabhushan Change-Id: I7514f197628ace6aff22b51724b9acea0e21944f --- .../ci/tests/execute/sanity/ServiceTemplateDesignUiTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'integration-tests/src') diff --git a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ServiceTemplateDesignUiTests.java b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ServiceTemplateDesignUiTests.java index 3294523de1..7409588970 100644 --- a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ServiceTemplateDesignUiTests.java +++ b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ServiceTemplateDesignUiTests.java @@ -822,8 +822,8 @@ public class ServiceTemplateDesignUiTests extends SetupCDTest { final Map substitutionMappingProperties = getMapEntry(substitutionMapping, "properties"); assertThat(String.format("'%s' should contain a properties entry", toscaYaml), substitutionMappingProperties, notNullValue()); - assertEquals(2, substitutionMappingProperties.keySet().stream() - .filter(s -> (s.contains("resourceSubtype") || s.contains("property1"))).count()); + assertEquals(1, substitutionMappingProperties.keySet().stream() + .filter(s -> (s.contains("property1"))).count()); } private void verifyToscaTemplateAddInput(Map yaml) { -- cgit 1.2.3-korg