mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-01-25 00:51:29 +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.MySQL;
|
||||||
import fr.xephi.authme.datasource.SqlDataSourceTestUtil;
|
import fr.xephi.authme.datasource.SqlDataSourceTestUtil;
|
||||||
import fr.xephi.authme.settings.Settings;
|
import fr.xephi.authme.settings.Settings;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.mockito.Mock;
|
import org.mockito.Mock;
|
||||||
@ -34,6 +35,11 @@ public class MySqlDefaultChangerTest {
|
|||||||
@Mock
|
@Mock
|
||||||
private Settings settings;
|
private Settings settings;
|
||||||
|
|
||||||
|
@BeforeClass
|
||||||
|
public static void setUpLogger() {
|
||||||
|
TestHelper.setupLogger();
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void shouldReturnMySqlConnection() throws SQLException {
|
public void shouldReturnMySqlConnection() throws SQLException {
|
||||||
// given
|
// given
|
||||||
|
Loading…
Reference in New Issue
Block a user