Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Unified Diff: components/autofill/core/browser/payments/payments_service_url_unittest.cc

Issue 2675883005: [autofill] Update URL to edit synced Google Payments cards. (Closed)
Patch Set: rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/autofill/core/browser/payments/payments_service_url.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/payments/payments_service_url_unittest.cc
diff --git a/components/autofill/core/browser/payments/payments_service_url_unittest.cc b/components/autofill/core/browser/payments/payments_service_url_unittest.cc
index 09dc91b5b86334ee5b802cd1dee05bc8bda8decf..8cdc5001257d8dd651c1d9d8953c2e46f8f93303 100644
--- a/components/autofill/core/browser/payments/payments_service_url_unittest.cc
+++ b/components/autofill/core/browser/payments/payments_service_url_unittest.cc
@@ -15,21 +15,21 @@ TEST(PaymentsServiceSandboxUrl, CheckSandboxUrls) {
base::CommandLine::ForCurrentProcess()->AppendSwitchASCII(
switches::kWalletServiceUseSandbox, "1");
- EXPECT_EQ("https://wallet-web.sandbox.google.com/manage/w/1/paymentMethods",
- GetManageInstrumentsUrl(1).spec());
- EXPECT_EQ("https://wallet-web.sandbox.google.com/manage/w/1/settings/"
- "addresses",
- GetManageAddressesUrl(1).spec());
+ const char kExpectedSandboxURL[] =
+ "https://payments.sandbox.google.com/u/1#paymentMethods";
+
+ EXPECT_EQ(kExpectedSandboxURL, GetManageInstrumentsUrl(1).spec());
+ EXPECT_EQ(kExpectedSandboxURL, GetManageAddressesUrl(1).spec());
}
TEST(PaymentsServiceSandboxUrl, CheckProdUrls) {
base::CommandLine::ForCurrentProcess()->AppendSwitchASCII(
switches::kWalletServiceUseSandbox, "0");
- EXPECT_EQ("https://wallet.google.com/manage/w/1/paymentMethods",
- GetManageInstrumentsUrl(1).spec());
- EXPECT_EQ("https://wallet.google.com/manage/w/1/settings/addresses",
- GetManageAddressesUrl(1).spec());
+ const char kExpectedURL[] = "https://payments.google.com/u/1#paymentMethods";
+
+ EXPECT_EQ(kExpectedURL, GetManageInstrumentsUrl(1).spec());
+ EXPECT_EQ(kExpectedURL, GetManageAddressesUrl(1).spec());
}
} // namespace payments
« no previous file with comments | « components/autofill/core/browser/payments/payments_service_url.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698