From 7662e814e912e0eecccea583ff18ce9abe84ef9f Mon Sep 17 00:00:00 2001 From: sourabh_sourabh Date: Thu, 2 May 2024 10:26:16 +0100 Subject: Make NCMP integration tests use MockWebServer Change from using MockRestServiceServer - which is only compatible with RestTemplate - to MockWebServer, which will allow tests to work using WebClient instead of RestTemplate. Issue-ID: CPS-2183 Change-Id: I7494fe17cba6e92f7df81f0fd0185e1d2b5a5541 Signed-off-by: sourabh_sourabh --- integration-test/pom.xml | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) (limited to 'integration-test/pom.xml') diff --git a/integration-test/pom.xml b/integration-test/pom.xml index 22d54a2375..98513f25fb 100644 --- a/integration-test/pom.xml +++ b/integration-test/pom.xml @@ -32,15 +32,6 @@ - - org.codehaus.groovy - groovy - test - - - org.junit.jupiter - junit-jupiter - ${project.groupId} cps-rest @@ -66,6 +57,26 @@ cps-ncmp-service test + + org.codehaus.groovy + groovy + test + + + org.testcontainers + kafka + test + + + com.squareup.okhttp3 + mockwebserver + test + + + org.testcontainers + postgresql + test + org.spockframework spock-core @@ -91,21 +102,11 @@ spring-kafka-test test - - org.testcontainers - postgresql - test - org.testcontainers spock test - - org.testcontainers - kafka - test - -- cgit 1.2.3-korg