| Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteEmailTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteEmailTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteEmailTest.java
|
| index 7097c31c31dfbd8900d0ddf37a6fc2c5f45fd2b0..5f477e530aaec273a6609aa3172779b3eee85a81 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteEmailTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteEmailTest.java
|
| @@ -30,12 +30,12 @@ public class PaymentRequestIncompleteEmailTest extends PaymentRequestTestBase {
|
| throws InterruptedException, ExecutionException, TimeoutException {
|
| AutofillTestHelper helper = new AutofillTestHelper();
|
| // The user has 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", "555-555-5555",
|
| - "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", "555-555-5555", "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 email with invalid data and cancel the transaction. */
|
|
|