fix: fixed UserManagerTest
This commit is contained in:
parent
4dec57d483
commit
4e2e0bd622
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user