Skip to content

Commit

Permalink
Fix oauth2 test as Bearer token check was changed in qurkusio/quarkus…
Browse files Browse the repository at this point in the history
…#42595
  • Loading branch information
jedla97 authored and gsmet committed Aug 23, 2024
1 parent 88f1820 commit bc61642
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class TokenSecuredResourceTest {
void testPermitAll() {
RestAssured.given()
.when()
.header("Authorization", "Bearer: " + BEARER_TOKEN)
.header("Authorization", "Bearer " + BEARER_TOKEN)
.get("/secured/permit-all")
.then()
.statusCode(200)
Expand All @@ -28,7 +28,7 @@ void testPermitAll() {
void testRolesAllowed() {
RestAssured.given()
.when()
.header("Authorization", "Bearer: " + BEARER_TOKEN)
.header("Authorization", "Bearer " + BEARER_TOKEN)
.get("/secured/roles-allowed")
.then()
.statusCode(200)
Expand Down

0 comments on commit bc61642

Please sign in to comment.