소스 검색

Reduce visibility for JdbcOneTimeTokenServiceTests

Issue gh-15735
Rob Winch 10 달 전
부모
커밋
c4b60cd080
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      core/src/test/java/org/springframework/security/authentication/ott/JdbcOneTimeTokenServiceTests.java

+ 2 - 2
core/src/test/java/org/springframework/security/authentication/ott/JdbcOneTimeTokenServiceTests.java

@@ -42,7 +42,7 @@ import static org.mockito.Mockito.mock;
  *
  *
  * @author Max Batischev
  * @author Max Batischev
  */
  */
-public class JdbcOneTimeTokenServiceTests {
+class JdbcOneTimeTokenServiceTests {
 
 
 	private static final String USERNAME = "user";
 	private static final String USERNAME = "user";
 
 
@@ -64,7 +64,7 @@ public class JdbcOneTimeTokenServiceTests {
 	}
 	}
 
 
 	@AfterEach
 	@AfterEach
-	public void tearDown() throws Exception {
+	void tearDown() throws Exception {
 		this.db.shutdown();
 		this.db.shutdown();
 		this.oneTimeTokenService.destroy();
 		this.oneTimeTokenService.destroy();
 	}
 	}