diff options
author | ms <ms@taler.net> | 2021-07-29 17:12:46 +0200 |
---|---|---|
committer | ms <ms@taler.net> | 2021-07-29 17:12:46 +0200 |
commit | 59b6615093de90812b3127f9b7a4214b411a3044 (patch) | |
tree | 8ee583f4ea8a2dc3df052e3be1f2539dd56c96dd /packages/taler-wallet-cli | |
parent | 172044f022b37f0c67eed49eea69d4f84113dec2 (diff) | |
download | wallet-core-59b6615093de90812b3127f9b7a4214b411a3044.tar.xz |
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.
Diffstat (limited to 'packages/taler-wallet-cli')
3 files changed, 5 insertions, 0 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-pay-paid.ts b/packages/taler-wallet-cli/src/integrationtests/test-pay-paid.ts index 1fb0b3c9c..bf8ed7a33 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-pay-paid.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-pay-paid.ts @@ -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", }, }); diff --git a/packages/taler-wallet-cli/src/integrationtests/test-payment-transient.ts b/packages/taler-wallet-cli/src/integrationtests/test-payment-transient.ts index ce0502b2b..bbe4325d0 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-payment-transient.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-payment-transient.ts @@ -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", }, }); diff --git a/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts b/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts index 77e322622..9312fb9a6 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts @@ -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", }, }); |