Skip to content

Commit

Permalink
fix (test): Check for the correct location (#94)
Browse files Browse the repository at this point in the history
Fixes failing CI tests. Somehow being related to this change here quarkusio/quarkus#27443. I don't think that our use of `CompleteableFuture` is wrong, it's what has been suggested a while back to chose over our own drivers reactive types and we am not gonna change that. The regex is now more lenient. FWIW if anything should change than Quarkus and the CI system should make sure it works both the same way in the CI in *this* project here and the overall integration project running on the whole of Quarkivere.
  • Loading branch information
michael-simons authored Sep 19, 2022
1 parent f00e600 commit 67983d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void createFruitsShouldWork() {
.body(new Fruit("Kartoffel"))
.when().post("/fruits/")
.then().statusCode(Status.CREATED.getStatusCode())
.header("Location", matchesRegex("/fruits/\\d+"));
.header("Location", matchesRegex("(?:https?://.+)?/fruits/\\d+"));
}

@Test
Expand Down

0 comments on commit 67983d4

Please sign in to comment.