Fix failure when tests are run in a different order.
This commit is contained in:
parent
e89f511465
commit
d7295473c3
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue