Details
-
Bug
-
Resolution: Fixed
-
Critical
-
1.1.1, 1.2 M1
-
None
Description
Test to prove it fails:
public void testRestrictedAccess() { try { rpc.getPage("Scheduler.WebHome"); fail("Should have thrown an exception here"); } catch (XWikiClientException expected) { assertEquals("xxx", expected.getMessage()); } }