diff --git a/persistence/src/test/java/org/devgateway/toolkit/persistence/test/AbstractPersistenceTest.java b/persistence/src/test/java/org/devgateway/toolkit/persistence/test/AbstractPersistenceTest.java index 0748544cc..61f94a6fb 100644 --- a/persistence/src/test/java/org/devgateway/toolkit/persistence/test/AbstractPersistenceTest.java +++ b/persistence/src/test/java/org/devgateway/toolkit/persistence/test/AbstractPersistenceTest.java @@ -13,7 +13,7 @@ */ @RunWith(SpringRunner.class) @ActiveProfiles("integration") -@SpringBootTest(classes = { PersistenceApplication.class }) +@SpringBootTest(classes = {PersistenceApplication.class}) @TestPropertySource("classpath:test.properties") public abstract class AbstractPersistenceTest { diff --git a/web/src/test/java/org/devgateway/toolkit/web/AbstractWebTest.java b/web/src/test/java/org/devgateway/toolkit/web/AbstractWebTest.java index f64510d2a..556b04880 100644 --- a/web/src/test/java/org/devgateway/toolkit/web/AbstractWebTest.java +++ b/web/src/test/java/org/devgateway/toolkit/web/AbstractWebTest.java @@ -1,6 +1,5 @@ package org.devgateway.toolkit.web; -import org.apache.log4j.Logger; import org.devgateway.toolkit.web.spring.WebApplication; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; @@ -11,9 +10,9 @@ @RunWith(SpringRunner.class) @ActiveProfiles("integration") -@SpringBootTest(classes = { WebApplication.class }, webEnvironment = WebEnvironment.RANDOM_PORT) +@SpringBootTest(classes = {WebApplication.class}, + webEnvironment = WebEnvironment.RANDOM_PORT) @TestPropertySource("classpath:test.properties") public abstract class AbstractWebTest { - protected static Logger logger = Logger.getLogger(AbstractWebTest.class); }