Skip to content

Commit

Permalink
CLAP-355 Fix: 테스트 코드 수정
Browse files Browse the repository at this point in the history
<footer>
- #448
  • Loading branch information
joowojr committed Feb 10, 2025
1 parent 92fc430 commit 9f72ce1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void loginSuccess() {
assertNotNull(response);
assertEquals(jwtTokens.accessToken(), response.accessToken());
assertEquals(jwtTokens.refreshToken(), response.refreshToken());
verify(loginAttemptService).resetFailedAttempts(clientIp);
verify(loginAttemptService).resetFailedAttempts(nickname);
verify(refreshTokenService).saveRefreshToken(any());
}

Expand All @@ -85,7 +85,7 @@ void loginFailureWrongPassword() {

// When & Then
assertThrows(AuthException.class, () -> authService.login(nickname, inputPassword, clientIp));
verify(loginAttemptService).recordFailedAttempt(clientIp, nickname);
verify(loginAttemptService).recordFailedAttempt(nickname, clientIp);
}


Expand Down

0 comments on commit 9f72ce1

Please sign in to comment.