Skip to content

Commit

Permalink
More fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaynewstrom-stripe committed Oct 25, 2024
1 parent 676455c commit f127432
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ class Stripe3ds2TransactionViewModelTest {
@Test
fun `When nextActionData contains publishableKey then it is used to start 3ds2 auth`() =
runTest {
whenever(
stripeRepository.start3ds2Auth(
any(),
eq(ApiRequest.Options(ApiKeyFixtures.DEFAULT_PUBLISHABLE_KEY))
)
).thenReturn(Result.success(mock<Stripe3ds2AuthResult>()))

val viewModel = createViewModel()
viewModel.start3ds2Flow()

Expand Down

0 comments on commit f127432

Please sign in to comment.