| Index: chrome/test/data/android/payments/metrics.js
|
| diff --git a/chrome/test/data/android/payments/metrics.js b/chrome/test/data/android/payments/metrics.js
|
| index 3f12883863e05027c25f210f5a0bcd278d4faf5e..fe9dd0ab0b726b490af10b410d111ee1489f0c89 100644
|
| --- a/chrome/test/data/android/payments/metrics.js
|
| +++ b/chrome/test/data/android/payments/metrics.js
|
| @@ -12,7 +12,7 @@ var request;
|
| /**
|
| * Launches the PaymentRequest UI that accepts credit cards.
|
| */
|
| -function buy() { // eslint-disable-line no-unused-vars
|
| +function ccBuy() { // eslint-disable-line no-unused-vars
|
| try {
|
| request = new PaymentRequest(
|
| [{supportedMethods: ['visa']}], {
|
| @@ -44,13 +44,12 @@ function buy() { // eslint-disable-line no-unused-vars
|
| }
|
|
|
| /**
|
| - * Launches the PaymentRequest UI which accepts a supported payment method but
|
| - * does not accept credit cards.
|
| + * Launches the PaymentRequest UI which accepts only Android Pay.
|
| */
|
| -function noMatching() { // eslint-disable-line no-unused-vars
|
| +function androidPayBuy() { // eslint-disable-line no-unused-vars
|
| try {
|
| request = new PaymentRequest(
|
| - [{supportedMethods: ['https://bobpay.com']}], {
|
| + [{supportedMethods: ['https://android.com/pay']}], {
|
| total: {label: 'Total', amount: {currency: 'USD', value: '5.00'}},
|
| shippingOptions: [{
|
| id: 'freeShippingOption',
|
|
|