Skip to content

Commit

Permalink
test : findRefreshTokenByValue 테스트 assert 구문 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
oownahcohc committed Aug 5, 2023
1 parent 258eb12 commit 89d79c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ void findRefreshTokenByValue(String target) {

// then
if (target.equals("RefreshToken")) {
assertThat(refreshToken.isPresent()).isTrue();
assertThat(refreshToken.get()).isEqualTo(saved);
assertThat(refreshToken).isPresent();
assertThat(refreshToken).contains(saved);
};
if (target.equals("null")) {
assertThat(refreshToken.isPresent()).isFalse();
Expand Down

0 comments on commit 89d79c0

Please sign in to comment.