From 3563cdab531833a2c203885ebb55af4b0720838a Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Fri, 6 Oct 2023 14:56:46 +0200 Subject: [PATCH] Fix a long failing test that somehow REST Assured didn't check properly I had a closer look at the test following the new failure and AFAICT the test assertion looks incorrect, we should arrive on landing page first. --- .../quarkus/vertx/http/security/AbstractFormAuthTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/security/AbstractFormAuthTestCase.java b/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/security/AbstractFormAuthTestCase.java index 6bb18799275f6..465bd82c2459d 100644 --- a/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/security/AbstractFormAuthTestCase.java +++ b/extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/security/AbstractFormAuthTestCase.java @@ -84,7 +84,7 @@ public void testFormBasedAuthSuccess() { .then() .assertThat() .statusCode(302) - .header("location", containsString("/admin")) + .header("location", containsString("/landing")) .cookie("quarkus-credential", RestAssuredMatchers.detailedCookie().value(notNullValue()).secured(false));