From d6d868718ee8fa3993db519313876cd316f8d39e Mon Sep 17 00:00:00 2001 From: Ionut Dobre Date: Thu, 22 Sep 2016 11:30:30 -0400 Subject: [PATCH] remove logger. format. --- .../toolkit/persistence/test/AbstractPersistenceTest.java | 2 +- .../java/org/devgateway/toolkit/web/AbstractWebTest.java | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) 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); }