-
Notifications
You must be signed in to change notification settings - Fork 659
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
prefix
to form field value in PhoneNumberController
- Loading branch information
1 parent
10d1a34
commit 7310d31
Showing
6 changed files
with
23 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -286,7 +286,7 @@ class USBankAccountFormViewModelTest { | |
val input = PaymentSelection.New.USBankAccount.Input( | ||
name = "Some One", | ||
email = "[email protected]", | ||
phone = "1112223456", | ||
phone = "+11112223456", | ||
address = Address( | ||
line1 = "123 Not Main Street", | ||
line2 = "Apt 123", | ||
|
@@ -331,7 +331,7 @@ class USBankAccountFormViewModelTest { | |
val input = PaymentSelection.New.USBankAccount.Input( | ||
name = "Some One", | ||
email = "[email protected]", | ||
phone = "1112223456", | ||
phone = "+11112223456", | ||
address = Address( | ||
line1 = "123 Not Main Street", | ||
line2 = "Apt 123", | ||
|
@@ -386,7 +386,7 @@ class USBankAccountFormViewModelTest { | |
billingDetails = PaymentSheet.BillingDetails( | ||
name = CUSTOMER_NAME, | ||
email = CUSTOMER_EMAIL, | ||
phone = CUSTOMER_PHONE_COUNTRY_CODE + CUSTOMER_PHONE, | ||
phone = CUSTOMER_PHONE, | ||
address = CUSTOMER_ADDRESS, | ||
), | ||
billingDetailsCollectionConfiguration = PaymentSheet.BillingDetailsCollectionConfiguration( | ||
|
@@ -528,7 +528,7 @@ class USBankAccountFormViewModelTest { | |
billingDetails = PaymentSheet.BillingDetails( | ||
name = CUSTOMER_NAME, | ||
email = CUSTOMER_EMAIL, | ||
phone = CUSTOMER_PHONE_COUNTRY_CODE + CUSTOMER_PHONE, | ||
phone = CUSTOMER_PHONE, | ||
address = CUSTOMER_ADDRESS, | ||
), | ||
billingDetailsCollectionConfiguration = PaymentSheet.BillingDetailsCollectionConfiguration( | ||
|
@@ -1638,8 +1638,7 @@ class USBankAccountFormViewModelTest { | |
const val CUSTOMER_EMAIL = "[email protected]" | ||
const val STRIPE_ACCOUNT_ID = "stripe_account_id" | ||
const val CUSTOMER_COUNTRY = "US" | ||
const val CUSTOMER_PHONE_COUNTRY_CODE = "+1" | ||
const val CUSTOMER_PHONE = "3105551234" | ||
const val CUSTOMER_PHONE = "+13105551234" | ||
val CUSTOMER_ADDRESS = PaymentSheet.Address( | ||
line1 = "123 Main Street", | ||
line2 = "Apt 456", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters