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:
parent
172044f022
commit
59b6615093
@ -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",
|
||||
},
|
||||
});
|
||||
|
||||
|
@ -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",
|
||||
},
|
||||
});
|
||||
|
||||
|
@ -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",
|
||||
},
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user