Index: chrome/test/data/android/payments/no_shipping.js |
diff --git a/chrome/test/data/android/payments/no_shipping.js b/chrome/test/data/android/payments/no_shipping.js |
index 2c697e4f0896549e451fd76d5eada83564764163..9353c7d75e270f3587fe9a3ea91c2ec4f83fbeaf 100644 |
--- a/chrome/test/data/android/payments/no_shipping.js |
+++ b/chrome/test/data/android/payments/no_shipping.js |
@@ -11,13 +11,9 @@ |
*/ |
function buy() { // eslint-disable-line no-unused-vars |
try { |
- new PaymentRequest(['visa'], { |
- displayItems: [{ |
- id: 'total', |
- label: 'Total', |
- amount: {currency: 'USD', value: '5.00'} |
- }] |
- }) |
+ new PaymentRequest( |
+ ['visa'], |
+ {total: {label: 'Total', amount: {currency: 'USD', value: '5.00'}}}) |
.show() |
.then(function(resp) { |
resp.complete(true) |