Browse Source

fix merge

pr-loginClient
Steffen Nitschke 4 years ago
parent
commit
9b450b0507
  1. 4
      fh.fd.ci.server/src/test/java/de/fd/fh/server/access/web/AccessControllerTest.java

4
fh.fd.ci.server/src/test/java/de/fd/fh/server/access/web/AccessControllerTest.java

@ -5,7 +5,7 @@ import de.fd.fh.server.access.AccessService;
import de.fd.fh.server.access.AccessToken;
import de.fd.fh.server.access.Role;
import de.fd.fh.server.user.UserId;
import de.fd.fh.shared.network.messages.LoginRequest;
import de.fd.fh.shared.network.messages.LoginResponse;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.mockito.ArgumentCaptor;
@ -120,7 +120,7 @@ class AccessControllerTest
@Test
void loginTest() throws JsonProcessingException
{
final LoginRequest dummy = new LoginRequest();
final LoginResponse dummy = new LoginResponse();
dummy.setName("TestName");
dummy.setToken("TestToken");
dummy.setUserId("12345");

Loading…
Cancel
Save