Initialize logger in MySqlDefaultChangerTest

This commit is contained in:
ljacqu 2022-01-06 00:32:43 +01:00
parent b3145acf60
commit d5b6d1584c

View File

@ -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