Skip to content

Commit

Permalink
Test: add delete refreshToken provider
Browse files Browse the repository at this point in the history
  • Loading branch information
emost22 committed Jul 14, 2024
1 parent eca7fba commit b51beaa
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,15 @@ class AuthProviderImplTest implements TokenTest, UserTest {
verify(authRepository).hasRefreshToken(anyString());
assertThat(hasRefreshToken).isEqualTo(TRUE);
}

@Test
void refreshToken_삭제_테스트() {
// given

// when
authProvider.deleteRefreshToken(TEST_TOKEN_KEY);

// then
verify(authRepository).deleteRefreshToken(anyString());
}
}

0 comments on commit b51beaa

Please sign in to comment.