2
0
Эх сурвалжийг харах

Reduce visibility for JdbcOneTimeTokenServiceTests

Issue gh-15735
Rob Winch 10 сар өмнө
parent
commit
c4b60cd080

+ 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
  */
-public class JdbcOneTimeTokenServiceTests {
+class JdbcOneTimeTokenServiceTests {
 
 	private static final String USERNAME = "user";
 
@@ -64,7 +64,7 @@ public class JdbcOneTimeTokenServiceTests {
 	}
 
 	@AfterEach
-	public void tearDown() throws Exception {
+	void tearDown() throws Exception {
 		this.db.shutdown();
 		this.oneTimeTokenService.destroy();
 	}