Skip to content

Commit

Permalink
#487 - fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
cbellone committed Jul 16, 2018
1 parent 589e5fb commit 8e6431e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public void testLinkToEvent() {
assertEquals(1, activeConfigurations.size());
assertEquals(configuration.getId(), activeConfigurations.get(0).getId());
assertFalse("Whitelist is empty, therefore no value is allowed", whitelistManager.isAllowed("test@test.ch", event.getId(), categoryId));
int items = whitelistManager.insertItems(whitelist.getId(), Collections.singletonList(new WhitelistItemModification("test@test.ch", "description")));
int items = whitelistManager.insertItems(whitelist.getId(), Collections.singletonList(new WhitelistItemModification(null,"test@test.ch", "description")));
assertEquals(1, items);
assertTrue("Value should be allowed", whitelistManager.isAllowed("test@test.ch", event.getId(), categoryId));

Expand Down

0 comments on commit 8e6431e

Please sign in to comment.