Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump mockito-kotlin from 3.2.0 to 4.0.0 #4283

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ ext {
junitVersion = '4.13.2'
robolectricVersion = '4.6'
mockitoCoreVersion = '3.12.4'
mockitoKotlinVersion = '3.2.0'
mockitoKotlinVersion = '4.0.0'

group_name = GROUP
version_name = VERSION_NAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ import org.mockito.kotlin.mock
import org.mockito.kotlin.never
import org.mockito.kotlin.times
import org.mockito.kotlin.verify
import org.mockito.kotlin.verifyNoInteractions
import org.mockito.kotlin.verifyNoMoreInteractions
import org.mockito.kotlin.verifyZeroInteractions
import org.mockito.kotlin.whenever
import org.robolectric.RobolectricTestRunner
import java.net.HttpURLConnection
Expand Down Expand Up @@ -1404,7 +1404,7 @@ internal class StripeApiRepositoryTest {
@Test
fun `createRadarSession() with advancedFraudSignalsEnabled set to false should throw an exception`() =
testDispatcher.runBlockingTest {
verifyZeroInteractions(fraudDetectionDataRepository)
verifyNoInteractions(fraudDetectionDataRepository)

Stripe.advancedFraudSignalsEnabled = false
val stripeRepository = create()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ import org.mockito.kotlin.eq
import org.mockito.kotlin.isNull
import org.mockito.kotlin.mock
import org.mockito.kotlin.verify
import org.mockito.kotlin.verifyNoInteractions
import org.mockito.kotlin.verifyNoMoreInteractions
import org.mockito.kotlin.verifyZeroInteractions
import org.mockito.kotlin.whenever
import org.robolectric.RobolectricTestRunner
import kotlin.test.AfterTest
Expand Down Expand Up @@ -598,7 +598,7 @@ internal class DefaultFlowControllerTest {

@Test
fun `onGooglePayResult() when canceled should invoke callback with canceled result`() {
verifyZeroInteractions(eventReporter)
verifyNoInteractions(eventReporter)

flowController.configureWithPaymentIntent(
PaymentSheetFixtures.CLIENT_SECRET,
Expand Down