| 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
|
|
|