From 0c2661a7dfd1de644c7a3f9f42fc1883d3ceff78 Mon Sep 17 00:00:00 2001 From: vasraz Date: Thu, 26 Aug 2021 01:24:51 +0100 Subject: Fix broken build Signed-off-by: Vasyl Razinkov Change-Id: I513b244dec9d420cd9314468647191f91314a3e0 Issue-ID: SDC-3687 --- .../openecomp/sdc/be/components/impl/ResourceBusinessLogicTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'catalog-be') diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/ResourceBusinessLogicTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/ResourceBusinessLogicTest.java index 6b52ed8d87..09aae40244 100644 --- a/catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/ResourceBusinessLogicTest.java +++ b/catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/ResourceBusinessLogicTest.java @@ -1492,7 +1492,7 @@ public class ResourceBusinessLogicTest { roleProp.setName("role"); roleProp.setType("string"); vduCp.getProperties().add(roleProp); - when(toscaOperationFacade.getLatestByToscaResourceNameAndModel("tosca.nodes.nfv.VduCp", "testModel")).thenReturn(Either.left(vduCp)); + when(toscaOperationFacade.getLatestByToscaResourceNameAndModel("tosca.nodes.nfv.VduCp", "testModel_myVnf1.0")).thenReturn(Either.left(vduCp)); when(yamlTemplateParsingHandler.parseResourceInfoFromYAML(any(), any(), any(), any(), any(), any())).thenReturn(parsedToscaYamlInfo); @@ -1536,7 +1536,6 @@ public class ResourceBusinessLogicTest { }). when(toscaOperationFacade).associateOrAddCalculatedCapReq(any(), any(), any()); - when(toscaOperationFacade.updateCalculatedCapabilitiesRequirements(any(), any(), any())).thenReturn(StorageOperationStatus.OK); when(groupBusinessLogic.validateUpdateVfGroupNames(any(), any())).thenReturn(Either.left(Collections.EMPTY_MAP)); @@ -1557,7 +1556,6 @@ public class ResourceBusinessLogicTest { return Either.left(resourceResponse); }).when(toscaOperationFacade).getToscaFullElement("myVnf"); - Resource result = bl.createResourceFromCsar(resourceResponse, user, csar, "1234"); assertEquals("myDomain.myVnf", result.getToscaResourceName()); -- cgit 1.2.3-korg