aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/controller/VidControllerTest.java
diff options
context:
space:
mode:
authorWojciech Sliwka <wojciech.sliwka@nokia.com>2019-02-18 13:11:12 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-18 13:11:12 +0000
commit67d99f816cc583643c35193197594cf78d8ce60a (patch)
tree49eb74e6955f869caf53bbcf7913b1b3438ba717 /vid-app-common/src/test/java/org/onap/vid/controller/VidControllerTest.java
parent36baada47134d2e6915baad5627d14d26e4c35ef (diff)
parent619d5f7dd8a03c4d53ff9adacfd5d208f1371735 (diff)
Merge "PombaReqest and ServiceInstance improvements"
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/controller/VidControllerTest.java')
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/controller/VidControllerTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/controller/VidControllerTest.java b/vid-app-common/src/test/java/org/onap/vid/controller/VidControllerTest.java
index aeb03b60c..8f0eb087d 100644
--- a/vid-app-common/src/test/java/org/onap/vid/controller/VidControllerTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/controller/VidControllerTest.java
@@ -151,8 +151,7 @@ public class VidControllerTest {
@Test
public void verifyServiceInstance_shouldReturnOk() throws Exception {
- PombaRequest pombaRequest = new PombaRequest();
- pombaRequest.serviceInstanceList = ImmutableList.of(new ServiceInstance());
+ PombaRequest pombaRequest = new PombaRequest(ImmutableList.of(new ServiceInstance()));
mockMvc.perform(post(REST_MODELS_SERVICES_VERIFY_SERVICE)
.contentType(MediaType.APPLICATION_JSON)