Skip to content

Commit

Permalink
test : 변수 명 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
2taezeat committed Dec 14, 2023
1 parent 13e4784 commit 9edfcab
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class AutomaticallyLoginUseCaseTest : BehaviorSpec({
)

`when`("accessToken이 Blank 이라면") {
val blank = ""
coEvery { userTokenRepository.getAccessToken() } returns blank
coEvery { authRepository.verifyToken(blank) } returns false
val inValidBlankToken = ""
coEvery { userTokenRepository.getAccessToken() } returns inValidBlankToken
coEvery { authRepository.verifyToken(inValidBlankToken) } returns false
val result = automaticallyLoginUseCase.invoke()

then("false 를 반환 한다") { result shouldBe false }
Expand Down

0 comments on commit 9edfcab

Please sign in to comment.