From ca487f60c2ca67794b16c0ff0cf5cc6deca556fc Mon Sep 17 00:00:00 2001 From: imamSidero Date: Tue, 20 Sep 2022 16:29:19 +0100 Subject: 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 Change-Id: I0de616510ca27c511179f1f34cf7290cd584c7c5 --- .../components/merge/instance/ComponentInstanceRelationMergeTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'catalog-be/src/test/java') 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 relationships = new ArrayList<>(); CapabilityRequirementRelationship capabilityRequirementRelationship = new CapabilityRequirementRelationship(); relationships.add(capabilityRequirementRelationship); -- cgit 1.2.3-korg