Skip to content

Commit

Permalink
Update of restassured and awaitility
Browse files Browse the repository at this point in the history
  • Loading branch information
rsvoboda committed Sep 18, 2019
1 parent 65d4540 commit 93e7181
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bom/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
<mariadb-jdbc.version>2.4.3</mariadb-jdbc.version>
<mssql-jdbc.version>7.2.1.jre8</mssql-jdbc.version>
<shrinkwrap.version>1.2.6</shrinkwrap.version>
<rest-assured.version>3.3.0</rest-assured.version>
<rest-assured.version>4.1.1</rest-assured.version>
<junit.jupiter.version>5.5.2</junit.jupiter.version>
<assertj.version>3.13.2</assertj.version>
<json-smart.version>2.3</json-smart.version>
Expand Down Expand Up @@ -137,7 +137,7 @@
<maven-artifact-transfer.version>0.10.0</maven-artifact-transfer.version>
<jline.version>2.14.6</jline.version>
<maven-invoker.version>3.0.1</maven-invoker.version>
<awaitility.version>3.1.6</awaitility.version>
<awaitility.version>4.0.1</awaitility.version>
<jprocesses.version>1.6.5</jprocesses.version>
<jboss-logmanager.version>1.0.3</jboss-logmanager.version>
<jgit.version>5.4.3.201909031940-r</jgit.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void testRESTeasyHotReplacement() {
.when()
.post("/post")
.then()
.content(Matchers.equalTo("Hello: Stuart"));
.body(Matchers.equalTo("Hello: Stuart"));
test.modifySourceFile(PostResource.class, new Function<String, String>() {
@Override
public String apply(String s) {
Expand All @@ -41,6 +41,6 @@ public String apply(String s) {
.when()
.post("/post")
.then()
.content(Matchers.equalTo("Hi: Stuart"));
.body(Matchers.equalTo("Hi: Stuart"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
import de.flapdoodle.embed.process.runtime.Network;
import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
import io.restassured.common.mapper.TypeRef;
import io.restassured.mapper.ObjectMapper;
import io.restassured.mapper.ObjectMapperDeserializationContext;
import io.restassured.mapper.ObjectMapperSerializationContext;
import io.restassured.mapper.TypeRef;
import io.restassured.response.Response;

@QuarkusTest
Expand Down

0 comments on commit 93e7181

Please sign in to comment.