diff --git a/Domain-Module/src/test/kotlin/com/bamyanggang/domainmodule/domain/user/service/TokenAppenderTest.kt b/Domain-Module/src/test/kotlin/com/bamyanggang/domainmodule/domain/user/service/TokenAppenderTest.kt index 9a642f09..d45e326f 100644 --- a/Domain-Module/src/test/kotlin/com/bamyanggang/domainmodule/domain/user/service/TokenAppenderTest.kt +++ b/Domain-Module/src/test/kotlin/com/bamyanggang/domainmodule/domain/user/service/TokenAppenderTest.kt @@ -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(relaxed = true) every { mockTokenRepository.findByUserId(userId) } returns mockToken + every { mockToken.update(userId, refreshToken) } returns mockToken When("appendToken is called") { tokenAppender.appendToken(userId, refreshToken)