Skip to content

Commit

Permalink
Fix test error.
Browse files Browse the repository at this point in the history
  • Loading branch information
michelleb-stripe committed Oct 18, 2021
1 parent a125988 commit 85e6223
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -797,13 +797,13 @@ internal class DefaultFlowControllerTest {
private val NEW_CARD_PAYMENT_SELECTION = PaymentSelection.New.Card(
PaymentMethodCreateParamsFixtures.DEFAULT_CARD,
CardBrand.Discover,
PaymentSelection.UserReuseRequest.NoRequest
PaymentSelection.CustomerRequestedSave.NoRequest
)
private val GENERIC_PAYMENT_SELECTION = PaymentSelection.New.GenericPaymentMethod(
iconResource = R.drawable.stripe_ic_paymentsheet_card_visa,
labelResource = R.drawable.stripe_ic_paymentsheet_pm_bancontact,
paymentMethodCreateParams = PaymentMethodCreateParamsFixtures.BANCONTACT,
userReuseRequest = PaymentSelection.UserReuseRequest.NoRequest
customerRequestedSave = PaymentSelection.CustomerRequestedSave.NoRequest
)
private val VISA_PAYMENT_OPTION = PaymentOption(
drawableResourceId = R.drawable.stripe_ic_paymentsheet_card_visa,
Expand All @@ -813,7 +813,7 @@ internal class DefaultFlowControllerTest {
private val SAVE_NEW_CARD_SELECTION = PaymentSelection.New.Card(
PaymentMethodCreateParamsFixtures.DEFAULT_CARD,
CardBrand.Visa,
userReuseRequest = PaymentSelection.UserReuseRequest.RequestReuse
customerRequestedSave = PaymentSelection.CustomerRequestedSave.RequestReuse
)
private val PAYMENT_METHODS =
listOf(PaymentMethodFixtures.CARD_PAYMENT_METHOD) + PaymentMethodFixtures.createCards(5)
Expand Down

0 comments on commit 85e6223

Please sign in to comment.