removes admin role

This commit is contained in:
Sebastian Sdorra
2019-03-21 10:46:11 +01:00
parent 3e9f59ef47
commit 7c6bfdaaac
15 changed files with 40 additions and 1736 deletions

View File

@@ -117,7 +117,6 @@ public final class MockUtil
when(subject.isPermittedAll(anyCollectionOf(Permission.class))).thenReturn(
Boolean.TRUE);
when(subject.isPermittedAll()).thenReturn(Boolean.TRUE);
when(subject.hasRole(Role.ADMIN)).thenReturn(Boolean.TRUE);
when(subject.hasRole(Role.USER)).thenReturn(Boolean.TRUE);
PrincipalCollection collection = mock(PrincipalCollection.class);