Index: content/test/data/payments/payment_app_invocation.html |
diff --git a/content/test/data/payments/payment_app_invocation.html b/content/test/data/payments/payment_app_invocation.html |
index 64c9836c53924743062d5adcc402f1ff4c258ce5..a09e096aefbdc7b37d3fbe86e778821def37124a 100644 |
--- a/content/test/data/payments/payment_app_invocation.html |
+++ b/content/test/data/payments/payment_app_invocation.html |
@@ -9,15 +9,9 @@ function registerPaymentApp() { |
return navigator.serviceWorker.ready; |
}) |
.then(registration => { |
- return registration.paymentManager.setManifest({ |
- name: 'Payment App', |
- icon: 'payment-app-icon', |
- options: [{ |
- name: 'Visa ****', |
- icon: 'payment-app-icon', |
- id: 'payment-app-id', |
- enabledMethods: ['visa'] |
- }] |
+ return registration.paymentManager.instruments.set('payment-app-id', { |
+ name: 'Visa ****', |
+ enabledMethods: ['visa'] |
}); |
}) |
.then(result => { |