Fix failure when tests are run in a different order.

This commit is contained in:
Stan Silvert 2016-02-06 14:34:03 -05:00
parent e89f511465
commit d7295473c3

View file

@ -39,6 +39,7 @@ public class EventConfigTest extends AbstractEventTest {
assertFalse(configRep.isAdminEventsDetailsEnabled()); assertFalse(configRep.isAdminEventsDetailsEnabled());
assertFalse(configRep.isAdminEventsEnabled()); assertFalse(configRep.isAdminEventsEnabled());
assertFalse(configRep.isEventsEnabled()); assertFalse(configRep.isEventsEnabled());
configRep.setEnabledEventTypes(Collections.EMPTY_LIST); // resets to all types
List<String> eventListeners = configRep.getEventsListeners(); List<String> eventListeners = configRep.getEventsListeners();
assertEquals(1, eventListeners.size()); assertEquals(1, eventListeners.size());