summaryrefslogtreecommitdiffstats
path: root/integration-tests/src/test
diff options
context:
space:
mode:
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>2023-02-21 14:22:14 +0000
committerMichael Morris <michael.morris@est.tech>2023-03-09 16:52:05 +0000
commit52b078ee0276fbda860d7acf9d29c5fb35542030 (patch)
treef7065f79e45cc5e366d4968f9394d71c480520dd /integration-tests/src/test
parented163d02d66b80496829f611ce03ef6fdf875be3 (diff)
Fix instance declared inputs mapped to substitution mapping
Issue-ID: SDC-4410 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I7514f197628ace6aff22b51724b9acea0e21944f
Diffstat (limited to 'integration-tests/src/test')
-rw-r--r--integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ServiceTemplateDesignUiTests.java4
1 files changed, 2 insertions, 2 deletions
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<String, Object> 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) {