Skip to content

Commit

Permalink
Additional Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nixon124 committed Nov 20, 2023
1 parent ce289f0 commit 41b15dc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/test/java/emissary/util/DisposeHelperTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import ch.qos.logback.classic.spi.ILoggingEvent;
import ch.qos.logback.core.read.ListAppender;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.slf4j.LoggerFactory;
Expand All @@ -23,9 +24,6 @@

class DisposeHelperTest {

static {
UnitTest.setupSystemProperties();
}
private static final Runnable FIRST = () -> LoggerFactory.getLogger("DisposeHelperRunnable").warn("DisposeHelperTestFirstRunnable");
private static final Runnable SECOND = () -> LoggerFactory.getLogger("DisposeHelperRunnable").warn("DisposeHelperTestSecondRunnable");
private static final Runnable THIRD = () -> LoggerFactory.getLogger("DisposeHelperRunnable").warn("DisposeHelperTestThirdRunnable");
Expand All @@ -41,6 +39,10 @@ class DisposeHelperTest {
private IBaseDataObject bdo;
private static final String TEST_BDO_NAME = "DisposeHelperTestBdo";

@BeforeAll
static void setupClass() {
UnitTest.setupSystemProperties();
}

@BeforeEach
void setup() {
Expand Down

0 comments on commit 41b15dc

Please sign in to comment.