Reduce visibility for JdbcOneTimeTokenServiceTests

Issue gh-15735
This commit is contained in:
Rob Winch 2024-10-02 10:48:10 -05:00
parent 650ec3ba82
commit c4b60cd080

View File

@ -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();
} }