File tree 1 file changed +3
-3
lines changed
paymentsheet/src/test/java/com/stripe/android/paymentsheet/ui
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ internal class DefaultCardEditUIHandlerTest {
49
49
fun cardUpdateParamsIsUpdatedWhenNewCardBrandIsSelected () {
50
50
var cardUpdateParams: CardUpdateParams ? = null
51
51
val handler = handler(
52
- onCardValuesChanged = {
52
+ onCardDetailsChanged = {
53
53
cardUpdateParams = it
54
54
}
55
55
)
@@ -100,7 +100,7 @@ internal class DefaultCardEditUIHandlerTest {
100
100
cardBrandFilter : CardBrandFilter = DefaultCardBrandFilter ,
101
101
showCardBrandDropdown : Boolean = true,
102
102
onBrandChoiceChanged : (CardBrand ) -> Unit = {},
103
- onCardValuesChanged : (CardUpdateParams ? ) -> Unit = {}
103
+ onCardDetailsChanged : (CardUpdateParams ? ) -> Unit = {}
104
104
): DefaultCardEditUIHandler {
105
105
return DefaultCardEditUIHandler (
106
106
card = card,
@@ -109,7 +109,7 @@ internal class DefaultCardEditUIHandlerTest {
109
109
showCardBrandDropdown = showCardBrandDropdown,
110
110
scope = TestScope (UnconfinedTestDispatcher ()),
111
111
onBrandChoiceChanged = onBrandChoiceChanged,
112
- onCardDetailsChanged = onCardValuesChanged
112
+ onCardDetailsChanged = onCardDetailsChanged
113
113
)
114
114
}
115
115
}
You can’t perform that action at this time.
0 commit comments