| Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsTest.java
|
| index ccddd15d71880f843dec9cb127d4b8ad07ec4371..1d2feb93822229013ae339881006ca945b9d74cf 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsTest.java
|
| @@ -30,12 +30,13 @@ public class PaymentRequestIncompleteContactDetailsTest extends PaymentRequestTe
|
| throws InterruptedException, ExecutionException, TimeoutException {
|
| AutofillTestHelper helper = new AutofillTestHelper();
|
| // The user has an invalid phone number and an invalid email address on disk.
|
| - helper.setProfile(new AutofillProfile("", "https://example.com", true, "Jon Doe", "Google",
|
| - "340 Main St", "CA", "Los Angeles", "", "90291", "", "US",
|
| - "+++" /* invalid phone number */, "jon.doe" /* invalid email address */, "en-US"));
|
| + String billingAddressId = helper.setProfile(new AutofillProfile("", "https://example.com",
|
| + true, "Jon Doe", "Google", "340 Main St", "CA", "Los Angeles", "", "90291", "",
|
| + "US", "+++" /* invalid phone number */, "jon.doe" /* invalid email address */,
|
| + "en-US"));
|
| helper.setCreditCard(new CreditCard("", "https://example.com", true, true, "Jon Doe",
|
| "4111111111111111", "1111", "12", "2050", "visa", R.drawable.pr_visa,
|
| - "" /* billingAddressId */));
|
| + billingAddressId));
|
| }
|
|
|
| /** Attempt to update the contact information with invalid data and cancel the transaction. */
|
|
|