mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-02 12:49:11 +01:00
removes admin role
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user