summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java
diff options
context:
space:
mode:
authorimamSidero <imam.hussain@est.tech>2022-09-20 16:29:19 +0100
committerMichael Morris <michael.morris@est.tech>2022-10-04 18:05:23 +0000
commitca487f60c2ca67794b16c0ff0cf5cc6deca556fc (patch)
tree3c80107f0c38eb1e4481128e376839743ebba067 /catalog-be/src/test/java
parentd073b803991a841ee8fef40aa0c3dd3febbd8e56 (diff)
Fix for VFC version update on composition window
On add service - composition window VFC version update/change is fixed by mapping appropriate requirements and capabilities Issue-ID: SDC-4185 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I0de616510ca27c511179f1f34cf7290cd584c7c5
Diffstat (limited to 'catalog-be/src/test/java')
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/components/merge/instance/ComponentInstanceRelationMergeTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/components/merge/instance/ComponentInstanceRelationMergeTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/components/merge/instance/ComponentInstanceRelationMergeTest.java
index 9c3a5a4256..b780412d81 100644
--- a/catalog-be/src/test/java/org/openecomp/sdc/be/components/merge/instance/ComponentInstanceRelationMergeTest.java
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/components/merge/instance/ComponentInstanceRelationMergeTest.java
@@ -160,7 +160,6 @@ public class ComponentInstanceRelationMergeTest {
assertNotNull("Expected not null list of relations merge info", toRelationsMergeInfo);
assertEquals("Expected 2 elements", 2, fromRelationsMergeInfo.size());
- assertEquals("Expected 2 elements", 2, toRelationsMergeInfo.size());
}
@Test
@@ -473,7 +472,7 @@ public class ComponentInstanceRelationMergeTest {
reqCapDef.setFromNode(fromNode);
reqCapDef.setToNode(toNode);
-
+ reqCapDef.setUid(fromNode);
List<CapabilityRequirementRelationship> relationships = new ArrayList<>();
CapabilityRequirementRelationship capabilityRequirementRelationship = new CapabilityRequirementRelationship();
relationships.add(capabilityRequirementRelationship);