aboutsummaryrefslogtreecommitdiffstats
path: root/cps-dependencies
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 /cps-dependencies
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 'cps-dependencies')
-rw-r--r--cps-dependencies/pom.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/cps-dependencies/pom.xml b/cps-dependencies/pom.xml
index 5d435d692..34d45b7aa 100644
--- a/cps-dependencies/pom.xml
+++ b/cps-dependencies/pom.xml
@@ -143,6 +143,12 @@
<version>5.3.1</version>
</dependency>
<dependency>
+ <groupId>com.squareup.okhttp3</groupId>
+ <artifactId>mockwebserver</artifactId>
+ <version>4.12.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit-junit5</artifactId>
<version>1.2.0</version>