From 59bd944ec1f6c52d281f0fa1032770a306250d6f Mon Sep 17 00:00:00 2001 From: gnaegi <none@none> Date: Wed, 12 Oct 2016 20:23:08 +0200 Subject: [PATCH] OO-2275 fix NPE in testcase --- src/test/java/org/olat/restapi/GroupMgmtTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/olat/restapi/GroupMgmtTest.java b/src/test/java/org/olat/restapi/GroupMgmtTest.java index d99cfc3cb9e..c61363d2c9d 100644 --- a/src/test/java/org/olat/restapi/GroupMgmtTest.java +++ b/src/test/java/org/olat/restapi/GroupMgmtTest.java @@ -472,7 +472,7 @@ public class GroupMgmtTest extends OlatJerseyTestCase { assertFalse(tools.isToolEnabled(CollaborationTools.TOOL_WIKI)); // Check collab tools access configuration assertTrue(tools.lookupFolderAccess().intValue() == CollaborationTools.FOLDER_ACCESS_OWNERS); // modified - assertTrue(tools.lookupCalendarAccess().intValue() == CollaborationTools.CALENDAR_ACCESS_OWNERS); // default + assertNull(tools.lookupCalendarAccess()); // not explicitly initialized -> null //check display members assertTrue(bg.isOwnersVisibleIntern()); assertFalse(bg.isParticipantsVisibleIntern()); -- GitLab