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

Unified Diff: content/test/data/payments/payment_app_invocation.html

Issue 2873903003: PaymentHandler: Stop using GetAllManifests() in content side tests. (Closed)
Patch Set: PaymentHandler: Use GetAllPaymentApps() in content side. Created 3 years, 7 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 | « content/browser/payments/payment_app_provider_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 => {
« no previous file with comments | « content/browser/payments/payment_app_provider_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698