Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
ci: fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Timon Borter <[email protected]>
  • Loading branch information
bbortt committed Jun 30, 2024
1 parent 4c71219 commit 19f606f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import io.restassured.path.json.JsonPath;
import org.junit.jupiter.api.Test;

import static org.hamcrest.Matchers.contains;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.notNullValue;
import static org.hamcrest.Matchers.stringContainsInOrder;

@QuarkusTest
public class AccountsResourceTest {
Expand Down Expand Up @@ -51,7 +51,7 @@ public void testSuccessfulRegistration() {
.post("/j_security_check")
.then()
.statusCode(302)
.header("location", contains("/index.html"));
.header("location", stringContainsInOrder("/index.html"));
}

@Test
Expand Down

0 comments on commit 19f606f

Please sign in to comment.