aboutsummaryrefslogtreecommitdiffstats
path: root/integration-tests
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests')
-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) {