summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-03-27 18:16:08 +0200
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-03-27 18:16:08 +0200
commit3e84a919dbda602eaeb261425f0a69ec6bbd9c5f (patch)
tree75602bd13b769a4901cd1a6e148f93ae521ebd52
parent356769fae6ed1b5821c9004a3b556b9f15931986 (diff)
Unit tests improvement
Add Id specified in the python third party script Issue-ID: CLAMP-142 Change-Id: Id804c83dbcb3dcdf485906f1b358554205e9e0e8 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
-rw-r--r--src/test/java/org/onap/clamp/clds/it/sdc/controller/installer/CsarInstallerItCase.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/org/onap/clamp/clds/it/sdc/controller/installer/CsarInstallerItCase.java b/src/test/java/org/onap/clamp/clds/it/sdc/controller/installer/CsarInstallerItCase.java
index 40dffcd6..fc5cb040 100644
--- a/src/test/java/org/onap/clamp/clds/it/sdc/controller/installer/CsarInstallerItCase.java
+++ b/src/test/java/org/onap/clamp/clds/it/sdc/controller/installer/CsarInstallerItCase.java
@@ -57,8 +57,8 @@ import org.springframework.test.context.junit4.SpringRunner;
public class CsarInstallerItCase {
private static final String CSAR_ARTIFACT_NAME = "testArtifact.csar";
- private static final String SERVICE_UUID = "serviceUUID";
- private static final String RESOURCE1_UUID = "resource1UUID";
+ private static final String INVARIANT_SERVICE_UUID = "4cc5b45a-1f63-4194-8100-cd8e14248c92";
+ private static final String INVARIANT_RESOURCE1_UUID = "ba4d4b5d-f861-4155-886b-b1cdba5e0957";
@Autowired
private CsarInstaller csarInstaller;
@Autowired
@@ -84,8 +84,8 @@ public class CsarInstallerItCase {
Mockito.when(csarHelper.getServiceMetadata()).thenReturn(data);
Mockito.when(csarHandler.getSdcCsarHelper()).thenReturn(csarHelper);
Mockito.when(csarHandler.getBlueprintArtifactName()).thenReturn(CSAR_ARTIFACT_NAME);
- Mockito.when(csarHandler.getBlueprintInvariantServiceUuid()).thenReturn(SERVICE_UUID);
- Mockito.when(csarHandler.getBlueprintInvariantResourceUuid()).thenReturn(RESOURCE1_UUID);
+ Mockito.when(csarHandler.getBlueprintInvariantServiceUuid()).thenReturn(INVARIANT_SERVICE_UUID);
+ Mockito.when(csarHandler.getBlueprintInvariantResourceUuid()).thenReturn(INVARIANT_RESOURCE1_UUID);
return csarHandler;
}