Skip to content

Commit

Permalink
Fix a long failing test that somehow REST Assured didn't check properly
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gsmet committed Oct 6, 2023
1 parent b55e70f commit 3563cda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 3563cda

Please sign in to comment.