Skip to content

Commit

Permalink
test: (#78) willDoNothing 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
khcho0125 committed Sep 27, 2022
1 parent 7a6fc38 commit 2f8f806
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertThrows
import org.junit.jupiter.api.extension.ExtendWith
import org.mockito.BDDMockito.given
import org.mockito.BDDMockito.willDoNothing
import org.mockito.kotlin.any
import org.springframework.boot.test.mock.mockito.MockBean
import org.springframework.test.context.junit.jupiter.SpringExtension
Expand Down Expand Up @@ -88,8 +87,6 @@ class SendAuthCodeUseCaseTests {
given(commandAuthCodePort.save(any()))
.willReturn(authCodeStub)

willDoNothing().given(sendEmailPort).sendAuthCode(code, email)

// when
sendAuthCodeUseCase.execute(email)
}
Expand Down

0 comments on commit 2f8f806

Please sign in to comment.