This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/master by this push: new 7fdb711 Use notNullValue for volatile GeocoderNominationTest postalCode field assertion 7fdb711 is described below commit 7fdb71139cf70d6dbcc5f7c4c1681dad0bc9dc66 Author: James Netherton <jamesnether...@gmail.com> AuthorDate: Mon Dec 7 07:14:30 2020 +0000 Use notNullValue for volatile GeocoderNominationTest postalCode field assertion --- .../camel/quarkus/component/geocoder/it/GeocoderNominationTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integration-tests/geocoder/src/test/java/org/apache/camel/quarkus/component/geocoder/it/GeocoderNominationTest.java b/integration-tests/geocoder/src/test/java/org/apache/camel/quarkus/component/geocoder/it/GeocoderNominationTest.java index 61b75f6..39e7bb5 100644 --- a/integration-tests/geocoder/src/test/java/org/apache/camel/quarkus/component/geocoder/it/GeocoderNominationTest.java +++ b/integration-tests/geocoder/src/test/java/org/apache/camel/quarkus/component/geocoder/it/GeocoderNominationTest.java @@ -23,6 +23,7 @@ import io.restassured.RestAssured; import org.junit.jupiter.api.Test; import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.notNullValue; @QuarkusTest @TestHTTPEndpoint(GeocoderNominationResource.class) @@ -42,7 +43,7 @@ public class GeocoderNominationTest { .then() .statusCode(200) .body("status", equalTo("OK")) - .body("postalCode", equalTo("41940")) + .body("postalCode", notNullValue()) .body("region.name", equalTo("AndalucĂa")) .body("country.shortCode", equalTo("ES")); }