From 4e2e0bd622ab1ab4e1bdef924884809c400a7b3d Mon Sep 17 00:00:00 2001 From: Yannik Bretschneider Date: Sat, 5 Jun 2021 23:48:05 +0200 Subject: [PATCH] fix: fixed UserManagerTest --- .../teamname/marvelous/server/netconnector/UserManagerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/src/test/java/uulm/teamname/marvelous/server/netconnector/UserManagerTest.java b/Server/src/test/java/uulm/teamname/marvelous/server/netconnector/UserManagerTest.java index ab02016..02b58f3 100644 --- a/Server/src/test/java/uulm/teamname/marvelous/server/netconnector/UserManagerTest.java +++ b/Server/src/test/java/uulm/teamname/marvelous/server/netconnector/UserManagerTest.java @@ -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");