diff options
Diffstat (limited to 'prh-app-server/src')
-rw-r--r-- | prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/tasks/BbsActionsTaskTest.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/tasks/BbsActionsTaskTest.java b/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/tasks/BbsActionsTaskTest.java index 6eed61bf..801f6c1f 100644 --- a/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/tasks/BbsActionsTaskTest.java +++ b/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/tasks/BbsActionsTaskTest.java @@ -37,6 +37,7 @@ import static org.onap.dcaegen2.services.sdk.rest.services.adapters.http.HttpMet import com.google.gson.JsonObject; import io.netty.handler.codec.http.HttpResponseStatus; +import io.vavr.collection.HashMultimap; import java.nio.charset.StandardCharsets; import java.util.List; import java.util.Scanner; @@ -99,7 +100,8 @@ class BbsActionsTaskTest { ConsumerDmaapModel consumerDmaapModel = buildConsumerDmaapModel(additionalFields); // when - ConsumerDmaapModel result = new BbsActionsTaskImpl(cbsConfiguration, httpClient).execute(consumerDmaapModel).block(); + ConsumerDmaapModel result = new BbsActionsTaskImpl(cbsConfiguration, httpClient).execute(consumerDmaapModel) + .block(); // then verifyZeroInteractions(httpClient); @@ -233,6 +235,7 @@ class BbsActionsTaskTest { .statusCode(status.code()) .url("") .rawBody(body.getBytes()) + .headers(HashMultimap.withSeq().empty()) .build(); } |