Update web-platform-tests to revision fb15e14b52049f952612623ee0d7fb7a620a57c9

This commit is contained in:
WPT Sync Bot 2018-11-01 21:34:37 -04:00
parent 200cc8aa6b
commit 4a942c982f
141 changed files with 2563 additions and 1589 deletions

View file

@ -264,14 +264,12 @@ promise_test(async t => {
promise_test(async t => {
const methodName = 'basic-card';
await registerApp(methodName);
const cardType = 'prepaid';
const cardNetwork = 'mir';
const request = new PaymentRequest(
[
{
supportedMethods: methodName,
data: {
supportedTypes: [cardType],
supportedNetworks: [cardNetwork],
},
},
@ -305,14 +303,12 @@ promise_test(async t => {
promise_test(async t => {
const methodName = 'basic-card';
const cardType = 'prepaid';
const cardNetwork = 'mir';
const registration = await registerApp(methodName);
await registration.paymentManager.instruments.set(instrumentKey, {
name: 'Test Payment Method',
method: methodName,
capabilities: {
supportedTypes: [cardType],
supportedNetworks: [cardNetwork],
},
});
@ -321,7 +317,6 @@ promise_test(async t => {
{
supportedMethods: methodName,
data: {
supportedTypes: [cardType],
supportedNetworks: [cardNetwork],
},
},
@ -355,14 +350,12 @@ promise_test(async t => {
promise_test(async t => {
const methodName = 'basic-card';
const cardType = 'prepaid';
const cardNetwork = 'mir';
const registration = await registerApp(methodName);
await registration.paymentManager.instruments.set(instrumentKey, {
name: 'Test Payment Method',
method: methodName,
capabilities: {
supportedTypes: [cardType],
supportedNetworks: [cardNetwork],
},
});