martin 3 tahun lalu
induk
melakukan
1e0f43a2f7

+ 0 - 5
simulation-oauth-server/pom.xml

@@ -111,11 +111,6 @@
             <artifactId>spring-boot-starter-test</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
     </dependencies>
     <build>
         <plugins>

+ 0 - 25
simulation-oauth-server/src/test/java/com/css/simulation/oauth/server/Test.java

@@ -1,25 +0,0 @@
-package com.css.simulation.oauth.server;
-
-import org.junit.runner.RunWith;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.data.redis.core.StringRedisTemplate;
-import org.springframework.test.context.junit4.SpringRunner;
-
-import java.util.Set;
-
-@SpringBootTest
-@RunWith(SpringRunner.class)
-public class Test {
-    @Autowired
-    StringRedisTemplate redisTemplate;
-
-
-    @org.junit.Test
-    public void test() {
-        Set<String> keys = redisTemplate.keys("access:*");
-        int size = keys.size();
-        System.out.println(size);
-    }
-
-}