Adapt tests to new API.

Putting public_reorder_url beside any mention
of fulfillment_url, since tests used the latter
in the sense of the former.
This commit is contained in:
ms 2021-07-29 17:12:46 +02:00
parent 172044f022
commit 59b6615093
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
3 changed files with 5 additions and 0 deletions

View File

@ -75,6 +75,7 @@ export async function runPayPaidTest(t: GlobalTestState) {
summary: "Buy me!",
amount: "TESTKUDOS:5",
fulfillment_url: "https://example.com/article42",
public_reorder_url: "https://example.com/article42-share",
},
});
@ -189,6 +190,7 @@ export async function runPayPaidTest(t: GlobalTestState) {
summary: "Buy me!",
amount: "TESTKUDOS:5",
fulfillment_url: "https://example.com/article42",
public_reorder_url: "https://example.com/article42-share",
},
});

View File

@ -62,6 +62,7 @@ export async function runPaymentTransientTest(t: GlobalTestState) {
summary: "Buy me!",
amount: "TESTKUDOS:5",
fulfillment_url: "https://example.com/article42",
public_reorder_url: "https://example.com/article42-share",
},
});

View File

@ -58,6 +58,7 @@ export async function runPaywallFlowTest(t: GlobalTestState) {
summary: "Buy me!",
amount: "TESTKUDOS:5",
fulfillment_url: "https://example.com/article42",
public_reorder_url: "https://example.com/article42-share",
},
});
@ -177,6 +178,7 @@ export async function runPaywallFlowTest(t: GlobalTestState) {
amount: "TESTKUDOS:5",
// Same fulfillment URL as previously!
fulfillment_url: "https://example.com/article42",
public_reorder_url: "https://example.com/article42-share",
},
});