Skip to content
Permalink
Browse files

test: Initialize RosterConfigManager when needed

  • Loading branch information...
rhwood committed Aug 7, 2019
1 parent 8d5e7bb commit 1c58f0466d31625f4102800c70ca55f839847062
Showing with 4 additions and 4 deletions.
  1. +4 −4 java/test/jmri/jmrit/withrottle/ConsistControllerTest.java
@@ -22,11 +22,11 @@ public void testCtor() {

@Before
public void setUp() {
jmri.util.JUnitUtil.setUp();
JUnitUtil.setUp();

jmri.util.JUnitUtil.resetProfileManager();

jmri.util.JUnitUtil.initDebugCommandStation();
JUnitUtil.resetProfileManager();
JUnitUtil.initRosterConfigManager();
JUnitUtil.initDebugCommandStation();
InstanceManager.setDefault(ConsistManager.class, new TestConsistManager());
InstanceManager.setDefault(NamedBeanHandleManager.class, new NamedBeanHandleManager());
}

0 comments on commit 1c58f04

Please sign in to comment.
You can’t perform that action at this time.