From f284d2106da38429096d751503eb18745c93330e Mon Sep 17 00:00:00 2001 From: Radoslav Husar Date: Thu, 11 Apr 2024 14:36:11 +0200 Subject: [PATCH] WFLY-19228 JWTClientIT is not an Arquillian test --- microprofile-jwt/pom.xml | 6 ------ .../java/org/wildfly/quickstarts/mpjwt/JWTClientIT.java | 7 ------- 2 files changed, 13 deletions(-) diff --git a/microprofile-jwt/pom.xml b/microprofile-jwt/pom.xml index 43a4bd1910..1d531cf52e 100644 --- a/microprofile-jwt/pom.xml +++ b/microprofile-jwt/pom.xml @@ -168,12 +168,6 @@ junit test - - org.jboss.arquillian.junit - arquillian-junit-container - test - - com.nimbusds nimbus-jose-jwt diff --git a/microprofile-jwt/src/test/java/org/wildfly/quickstarts/mpjwt/JWTClientIT.java b/microprofile-jwt/src/test/java/org/wildfly/quickstarts/mpjwt/JWTClientIT.java index d1d6636517..95d412b5cd 100644 --- a/microprofile-jwt/src/test/java/org/wildfly/quickstarts/mpjwt/JWTClientIT.java +++ b/microprofile-jwt/src/test/java/org/wildfly/quickstarts/mpjwt/JWTClientIT.java @@ -29,10 +29,7 @@ import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClientBuilder; import org.apache.http.util.EntityUtils; -import org.jboss.arquillian.container.test.api.RunAsClient; -import org.jboss.arquillian.junit.Arquillian; import org.junit.Test; -import org.junit.runner.RunWith; /** @@ -44,8 +41,6 @@ * * @author Darran Lofthouse */ -@RunWith(Arquillian.class) -@RunAsClient public class JWTClientIT { private static final String SUBSCRIPTION = "subscription"; private static final String BIRTHDAY = "birthday"; @@ -61,8 +56,6 @@ public class JWTClientIT { private static final String AUTHORIZATION = "Authorization"; private static final String BEARER = "Bearer"; - private static final String APP_NAME = "microprofile-jwt"; - private final CloseableHttpClient httpClient = HttpClientBuilder.create().build(); @Test