fix(api): allow logout with user anonymousUser (#2764)
This commit is contained in:
@@ -274,7 +274,6 @@ class LogoutServiceTest {
|
||||
private Authentication mockAuth() {
|
||||
var auth = mock(Authentication.class);
|
||||
when(auth.isAuthenticated()).thenReturn(true);
|
||||
when(auth.getPrincipal()).thenReturn("not-anonymous");
|
||||
return auth;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user