|
|
@ -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"); |
|
|
|