From 85e6223d23dd851f88292c1f0e730929808c8a7b Mon Sep 17 00:00:00 2001 From: Michelle Brubaker Date: Mon, 18 Oct 2021 13:17:36 -0400 Subject: [PATCH] Fix test error. --- .../flowcontroller/DefaultFlowControllerTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paymentsheet/src/test/java/com/stripe/android/paymentsheet/flowcontroller/DefaultFlowControllerTest.kt b/paymentsheet/src/test/java/com/stripe/android/paymentsheet/flowcontroller/DefaultFlowControllerTest.kt index 687dc635de1..bac98657329 100644 --- a/paymentsheet/src/test/java/com/stripe/android/paymentsheet/flowcontroller/DefaultFlowControllerTest.kt +++ b/paymentsheet/src/test/java/com/stripe/android/paymentsheet/flowcontroller/DefaultFlowControllerTest.kt @@ -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, @@ -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)