From b51beaab7f83f3a2eed9b257e683c8d2e255237e Mon Sep 17 00:00:00 2001 From: emost22 Date: Sun, 14 Jul 2024 21:21:29 +0900 Subject: [PATCH] Test: add delete refreshToken provider --- .../provider/auth/impl/AuthProviderImplTest.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/test/java/com/sirius/spurt/store/provider/auth/impl/AuthProviderImplTest.java b/src/test/java/com/sirius/spurt/store/provider/auth/impl/AuthProviderImplTest.java index ec65b51..d4f6db0 100644 --- a/src/test/java/com/sirius/spurt/store/provider/auth/impl/AuthProviderImplTest.java +++ b/src/test/java/com/sirius/spurt/store/provider/auth/impl/AuthProviderImplTest.java @@ -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()); + } }