summaryrefslogtreecommitdiffstats
path: root/integration-test/pom.xml
diff options
context:
space:
mode:
authorsourabh_sourabh <sourabh.sourabh@est.tech>2024-05-02 10:26:16 +0100
committersourabh_sourabh <sourabh.sourabh@est.tech>2024-05-03 12:49:23 +0100
commit7662e814e912e0eecccea583ff18ce9abe84ef9f (patch)
treec8ef0cfbcd5f1ee6d27a65de3fdc0f60c443be0b /integration-test/pom.xml
parentc5f6c45eb5cd94f76f1f39e5a4593996a9f25474 (diff)
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 <sourabh.sourabh@est.tech>
Diffstat (limited to 'integration-test/pom.xml')
-rw-r--r--integration-test/pom.xml39
1 files changed, 20 insertions, 19 deletions
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
@@ -33,15 +33,6 @@
<dependencies>
<!-- T E S T D E P E N D E N C I E S -->
<dependency>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>groovy</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter</artifactId>
- </dependency>
- <dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cps-rest</artifactId>
<scope>test</scope>
@@ -67,6 +58,26 @@
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.testcontainers</groupId>
+ <artifactId>kafka</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.squareup.okhttp3</groupId>
+ <artifactId>mockwebserver</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.testcontainers</groupId>
+ <artifactId>postgresql</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>org.spockframework</groupId>
<artifactId>spock-core</artifactId>
<scope>test</scope>
@@ -93,19 +104,9 @@
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
- <artifactId>postgresql</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.testcontainers</groupId>
<artifactId>spock</artifactId>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.testcontainers</groupId>
- <artifactId>kafka</artifactId>
- <scope>test</scope>
- </dependency>
</dependencies>
<profiles>