Skip to content

Commit

Permalink
Update to smallrye-jwt 3.1.0 and re-enable JWT tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sberyozkin authored and cescoffier committed Apr 6, 2021
1 parent 863709e commit 316942e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<smallrye-graphql.version>1.1.0</smallrye-graphql.version>
<smallrye-opentracing.version>2.0.0</smallrye-opentracing.version>
<smallrye-fault-tolerance.version>5.0.0</smallrye-fault-tolerance.version>
<smallrye-jwt.version>3.0.0</smallrye-jwt.version>
<smallrye-jwt.version>3.1.0</smallrye-jwt.version>
<smallrye-context-propagation.version>1.1.0</smallrye-context-propagation.version>
<smallrye-reactive-streams-operators.version>1.0.13</smallrye-reactive-streams-operators.version>
<smallrye-reactive-utils.version>2.3.0</smallrye-reactive-utils.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import static org.hamcrest.Matchers.equalTo;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import io.quarkus.test.common.QuarkusTestResource;
Expand All @@ -14,8 +13,6 @@
public class OidcTokenPropagationTest {

@Test
// TODO - MP4 - Require SR JWT 3.0.1
@Disabled
public void testGetUserNameWithJwtTokenPropagation() {
RestAssured.given().auth().oauth2(KeycloakRealmResourceManager.getAccessToken("alice"))
.when().get("/frontend/jwt-token-propagation")
Expand All @@ -25,8 +22,6 @@ public void testGetUserNameWithJwtTokenPropagation() {
}

@Test
// TODO - MP4 - Require SR JWT 3.0.1
@Disabled
public void testGetUserNameWithAccessTokenPropagation() {
RestAssured.given().auth().oauth2(KeycloakRealmResourceManager.getAccessToken("alice"))
.when().get("/frontend/access-token-propagation")
Expand Down

0 comments on commit 316942e

Please sign in to comment.