summaryrefslogtreecommitdiffstats
path: root/integration-tests/src/test
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2022-07-13 11:49:36 +0100
committerMichael Morris <michael.morris@est.tech>2022-07-21 13:33:07 +0000
commit63966da5c7a9bd6ba3fa9e97807447d7759e8ace (patch)
tree2feec658aeb0f86fc041fa6bbc4175afff0e9ab3 /integration-tests/src/test
parenta1bfc110ea1f5f2e780b6bef78da1273b66bac63 (diff)
Fix changed instance attribute value not visible in generated tosca
also fixes attributes not being exported/imported with a schema Issue-ID: SDC-4093 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I693ae5c4c7717764445b20279bf61a7d3b47b434
Diffstat (limited to 'integration-tests/src/test')
-rw-r--r--integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ImportVfcUiTest.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ImportVfcUiTest.java b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ImportVfcUiTest.java
index ba4b6d77fe..c8a45de563 100644
--- a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ImportVfcUiTest.java
+++ b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ImportVfcUiTest.java
@@ -397,10 +397,7 @@ public class ImportVfcUiTest extends SetupCDTest {
assertFalse(MapUtils.isEmpty(nodeTemplates));
final Map<String, Object> attributes = getMapEntry((Map<String, Object>) nodeTemplates.get(createdComponentInstance.getName()), "attributes");
- assertFalse(MapUtils.isEmpty(attributes));
- assertEquals(4, attributes.keySet().stream()
- .filter(s -> (s.contains("test_1") || s.contains("test_3") || s.contains("test_4") || s.contains("test_9")) && !s.contains("test_2"))
- .count());
+ assertTrue(MapUtils.isEmpty(attributes));
final Map<String, Object> substitutionMappings = getMapEntry(topologyTemplate, "substitution_mappings");
assertFalse(MapUtils.isEmpty(substitutionMappings));