Skip to content

Commit

Permalink
🔥 unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSebastian committed Nov 22, 2024
1 parent 6607273 commit 03049b8
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ void should_throwDisabledException_when_userIsNotAssignedToActiveWahltag() {
val ldapUserDetails = new TestLdapUserDetails(username, "WAHLVORSTAND");

val mockedUserModelFromUserService = createUserModel(wahltagID, "WLS_WAHLVORSTAND");
val mockedLegalLoginInterval = new LegalLoginIntervalModel(LocalDateTime.now().minusYears(1), LocalDateTime.now().plusYears(1));

Mockito.when(wahltagClient.isWahltagActive(wahltagID)).thenReturn(false);
Mockito.when(userService.getUser(username)).thenReturn(Optional.of(mockedUserModelFromUserService));
Expand Down

0 comments on commit 03049b8

Please sign in to comment.