Skip to content

Commit

Permalink
test : TokenAppenderTest 수정(#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
isprogrammingfun committed Jun 4, 2024
1 parent 1d8568f commit 93fb37c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class TokenAppenderTest : BehaviorSpec({
Given("a user id and a refresh token, and the user has an existing token") {
val mockToken = mockk<Token>(relaxed = true)
every { mockTokenRepository.findByUserId(userId) } returns mockToken
every { mockToken.update(userId, refreshToken) } returns mockToken

When("appendToken is called") {
tokenAppender.appendToken(userId, refreshToken)
Expand Down

0 comments on commit 93fb37c

Please sign in to comment.