summaryrefslogtreecommitdiffstats
path: root/appc-provider/appc-provider-bundle/src/test/java/org
diff options
context:
space:
mode:
authorTomek Osinski <tomasz.osinski2@orange.com>2018-10-17 13:13:18 +0200
committerTomek Osinski <tomasz.osinski2@orange.com>2018-10-17 13:30:21 +0200
commitcf87390b00bb7aa3968f31e92a24737270006e00 (patch)
tree395c91041f1554ecc8825c275e16ac9c7546f4c0 /appc-provider/appc-provider-bundle/src/test/java/org
parent80bb680c6ac93d8007630b5070cb58138a551711 (diff)
Make validation of DistributeTraffic less strict.
In order to pass configuration-parameters we need to make validation less strict. Issue-ID: APPC-1173 Change-Id: I62e3f0acce8d4b577705dd5fe3b7e6ea7740cae1 Signed-off-by: Tomek Osinski <tomasz.osinski2@orange.com>
Diffstat (limited to 'appc-provider/appc-provider-bundle/src/test/java/org')
-rw-r--r--appc-provider/appc-provider-bundle/src/test/java/org/onap/appc/provider/lcm/service/DistributeTrafficServiceTest.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/appc-provider/appc-provider-bundle/src/test/java/org/onap/appc/provider/lcm/service/DistributeTrafficServiceTest.java b/appc-provider/appc-provider-bundle/src/test/java/org/onap/appc/provider/lcm/service/DistributeTrafficServiceTest.java
index e0c06f774..671459dd3 100644
--- a/appc-provider/appc-provider-bundle/src/test/java/org/onap/appc/provider/lcm/service/DistributeTrafficServiceTest.java
+++ b/appc-provider/appc-provider-bundle/src/test/java/org/onap/appc/provider/lcm/service/DistributeTrafficServiceTest.java
@@ -173,17 +173,4 @@ public class DistributeTrafficServiceTest {
}
- @Test
- public void testValidateMissingConfigFileName() throws Exception {
- helpInitializeRequestParameters();
- String wrongPayload = "{\"test\":\"test\"}";
- Mockito.doReturn(wrongPayload).when(mockPayload).getValue();
- distributeTrafficService.validate(mockInput);
- Status status = (Status) Whitebox.getInternalState(distributeTrafficService, "status");
- assertEquals("should return status null",
- Integer.valueOf(LCMCommandStatus.MISSING_MANDATORY_PARAMETER.getResponseCode()), status.getCode());
- }
-
-
-
}