From 4b27d6144f4a92bdfd77f4407aa4ffdd5a6f0d57 Mon Sep 17 00:00:00 2001 From: Bas Dijkstra Date: Thu, 7 Dec 2023 11:58:22 +0100 Subject: [PATCH] Update dependencies --- pom.xml | 21 +++++++------------ .../java/answers/RestAssuredAnswers5Test.java | 2 +- .../RestAssuredExamplesGraphQLTest.java | 1 - .../exercises/RestAssuredExercises5Test.java | 2 +- 4 files changed, 9 insertions(+), 17 deletions(-) diff --git a/pom.xml b/pom.xml index 4de81a3..f509bb1 100644 --- a/pom.xml +++ b/pom.xml @@ -10,12 +10,11 @@ 17 17 - 5.3.0 - 5.9.2 - 2.14.2 - 20231013 - 2.35.1 - 2.0.7 + 5.3.2 + 5.10.1 + 2.16.0 + 3.3.1 + 2.0.9 3.0.0 @@ -44,14 +43,8 @@ test - org.json - json - ${json.version} - test - - - com.github.tomakehurst - wiremock-jre8 + org.wiremock + wiremock ${wiremock.version} test diff --git a/src/test/java/answers/RestAssuredAnswers5Test.java b/src/test/java/answers/RestAssuredAnswers5Test.java index b1261a8..854614e 100644 --- a/src/test/java/answers/RestAssuredAnswers5Test.java +++ b/src/test/java/answers/RestAssuredAnswers5Test.java @@ -24,7 +24,7 @@ public class RestAssuredAnswers5Test { static WireMockExtension wiremock = WireMockExtension.newInstance() .options(wireMockConfig() .port(9876) - .extensions(new ResponseTemplateTransformer(true))) + .globalTemplating(true)) .build(); @BeforeEach diff --git a/src/test/java/examples/RestAssuredExamplesGraphQLTest.java b/src/test/java/examples/RestAssuredExamplesGraphQLTest.java index c797a2f..be51a71 100644 --- a/src/test/java/examples/RestAssuredExamplesGraphQLTest.java +++ b/src/test/java/examples/RestAssuredExamplesGraphQLTest.java @@ -2,7 +2,6 @@ import io.restassured.http.ContentType; import org.junit.jupiter.api.Test; -import org.json.JSONObject; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; diff --git a/src/test/java/exercises/RestAssuredExercises5Test.java b/src/test/java/exercises/RestAssuredExercises5Test.java index a60c0e2..4910a2e 100644 --- a/src/test/java/exercises/RestAssuredExercises5Test.java +++ b/src/test/java/exercises/RestAssuredExercises5Test.java @@ -23,7 +23,7 @@ public class RestAssuredExercises5Test { static WireMockExtension wiremock = WireMockExtension.newInstance() .options(wireMockConfig() .port(9876) - .extensions(new ResponseTemplateTransformer(true))) + .globalTemplating(true)) .build(); @BeforeEach