You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2022/09/30 10:55:56 UTC

[cxf] 01/03: cxf-rt-rs-security-oauth2: enable JCacheCodeDataProviderTest

This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch 3.5.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit 47cada2a6a4a1a5e2512d11637ad385e83dcf842
Author: Alexey Markevich <bu...@gmail.com>
AuthorDate: Tue Apr 12 12:20:18 2022 +0300

    cxf-rt-rs-security-oauth2: enable JCacheCodeDataProviderTest
    
    (cherry picked from commit 30dd21512ddf0af616771b88db8615e1aa5b7ab6)
---
 .../rs/security/oauth2/grants/code/JCacheCodeDataProviderTest.java    | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/rt/rs/security/oauth-parent/oauth2/src/test/java/org/apache/cxf/rs/security/oauth2/grants/code/JCacheCodeDataProviderTest.java b/rt/rs/security/oauth-parent/oauth2/src/test/java/org/apache/cxf/rs/security/oauth2/grants/code/JCacheCodeDataProviderTest.java
index c573ea7b69..9921d78830 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/test/java/org/apache/cxf/rs/security/oauth2/grants/code/JCacheCodeDataProviderTest.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/test/java/org/apache/cxf/rs/security/oauth2/grants/code/JCacheCodeDataProviderTest.java
@@ -26,7 +26,6 @@ import org.apache.cxf.rs.security.oauth2.common.UserSubject;
 
 import org.junit.After;
 import org.junit.Before;
-import org.junit.Ignore;
 import org.junit.Test;
 
 import static org.junit.Assert.assertEquals;
@@ -40,7 +39,6 @@ public class JCacheCodeDataProviderTest {
         provider = new JCacheCodeDataProvider();
     }
 
-    @Ignore
     @Test
     public void testAddGetDeleteCodeGrants() {
         Client c = addClient("111", "bob");
@@ -70,7 +68,6 @@ public class JCacheCodeDataProviderTest {
         assertEquals(0, grants.size());
     }
 
-    @Ignore
     @Test
     public void testAddGetDeleteCodeGrants2() {
         Client c = addClient("111", "bob");
@@ -99,6 +96,7 @@ public class JCacheCodeDataProviderTest {
         provider.setClient(c);
         return c;
     }
+
     @After
     public void tearDown() throws Exception {
         if (provider != null) {