From 316942eb3c35fa5f683f31a6dd0832c5aa37cb56 Mon Sep 17 00:00:00 2001 From: Sergey Beryozkin Date: Fri, 26 Mar 2021 16:40:54 +0000 Subject: [PATCH] Update to smallrye-jwt 3.1.0 and re-enable JWT tests --- bom/application/pom.xml | 2 +- .../io/quarkus/it/keycloak/OidcTokenPropagationTest.java | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/bom/application/pom.xml b/bom/application/pom.xml index c5cca2be35aaee..2f758f37f6b8d0 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -49,7 +49,7 @@ 1.1.0 2.0.0 5.0.0 - 3.0.0 + 3.1.0 1.1.0 1.0.13 2.3.0 diff --git a/integration-tests/smallrye-jwt-token-propagation/src/test/java/io/quarkus/it/keycloak/OidcTokenPropagationTest.java b/integration-tests/smallrye-jwt-token-propagation/src/test/java/io/quarkus/it/keycloak/OidcTokenPropagationTest.java index 81f7b13024fc1b..b861a1e0c53f3e 100644 --- a/integration-tests/smallrye-jwt-token-propagation/src/test/java/io/quarkus/it/keycloak/OidcTokenPropagationTest.java +++ b/integration-tests/smallrye-jwt-token-propagation/src/test/java/io/quarkus/it/keycloak/OidcTokenPropagationTest.java @@ -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; @@ -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") @@ -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")