aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-01-27 20:30:08 +0100
committerFlorian Dold <florian@dold.me>2022-01-27 20:30:08 +0100
commitaf3082f448eb5dd8599ad46f864e8c341436ede5 (patch)
tree4af79806830154ec84b9823a8def747d0162a2a2 /packages/taler-wallet-cli
parentd2f17c8dac90b184a2a050c41da7a5e8f9a28c0f (diff)
bump version, fix testv0.9.0-dev.6
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/test-payment.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-payment.ts b/packages/taler-wallet-cli/src/integrationtests/test-payment.ts
index d76bb6762..66d10f996 100644
--- a/packages/taler-wallet-cli/src/integrationtests/test-payment.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/test-payment.ts
@@ -48,7 +48,10 @@ export async function runPaymentTest(t: GlobalTestState) {
};
await makeTestPayment(t, { wallet, merchant, order });
+ await wallet.runUntilDone();
+ // Test JSON normalization of contract terms: Does the wallet
+ // agree with the merchant?
const order2 = {
summary: "Testing “unicode” characters",
amount: "TESTKUDOS:5",
@@ -56,6 +59,17 @@ export async function runPaymentTest(t: GlobalTestState) {
};
await makeTestPayment(t, { wallet, merchant, order: order2 });
+ await wallet.runUntilDone();
+
+ // Test JSON normalization of contract terms: Does the wallet
+ // agree with the merchant?
+ const order3 = {
+ summary: "Testing\nNewlines\rAnd\tStuff\nHere\b",
+ amount: "TESTKUDOS:5",
+ fulfillment_url: "taler://fulfillment-success/thx",
+ };
+
+ await makeTestPayment(t, { wallet, merchant, order: order3 });
await wallet.runUntilDone();
}