fix: fixed UserManagerTest

This commit is contained in:
Yannik Bretschneider 2021-06-05 23:48:05 +02:00
parent 4dec57d483
commit 4e2e0bd622
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class UserManagerTest {
void beforeEach() {
connection = mock(WebSocket.class);
// when(connection.hashCode()).thenReturn(1); // just for testing, of course
manager = spy(new UserManager(new JSON(null))); // FIXME: This shouldn't be null, of course
manager = spy(new UserManager()); // FIXME: This shouldn't be null, of course
handshake = mock(ClientHandshake.class);
when(handshake.getResourceDescriptor()).thenReturn("/someDescriptor");