mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-01-09 09:27:34 +01:00
Initialize logger in MySqlDefaultChangerTest
This commit is contained in:
parent
b3145acf60
commit
d5b6d1584c
@ -9,6 +9,7 @@ import fr.xephi.authme.datasource.DataSource;
|
||||
import fr.xephi.authme.datasource.MySQL;
|
||||
import fr.xephi.authme.datasource.SqlDataSourceTestUtil;
|
||||
import fr.xephi.authme.settings.Settings;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.mockito.Mock;
|
||||
@ -34,6 +35,11 @@ public class MySqlDefaultChangerTest {
|
||||
@Mock
|
||||
private Settings settings;
|
||||
|
||||
@BeforeClass
|
||||
public static void setUpLogger() {
|
||||
TestHelper.setupLogger();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void shouldReturnMySqlConnection() throws SQLException {
|
||||
// given
|
||||
|
Loading…
Reference in New Issue
Block a user