From af3082f448eb5dd8599ad46f864e8c341436ede5 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 27 Jan 2022 20:30:08 +0100 Subject: [PATCH] bump version, fix test --- .../src/integrationtests/test-payment.ts | 14 ++++++++++++++ .../taler-wallet-webextension/manifest-v2.json | 4 ++-- .../taler-wallet-webextension/manifest-v3.json | 4 ++-- 3 files changed, 18 insertions(+), 4 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(); } diff --git a/packages/taler-wallet-webextension/manifest-v2.json b/packages/taler-wallet-webextension/manifest-v2.json index e78ebad02..5b562c837 100644 --- a/packages/taler-wallet-webextension/manifest-v2.json +++ b/packages/taler-wallet-webextension/manifest-v2.json @@ -3,8 +3,8 @@ "name": "GNU Taler Wallet (git)", "description": "Privacy preserving and transparent payments", "author": "GNU Taler Developers", - "version": "0.9.0.4", - "version_name": "0.9.0-dev.4", + "version": "0.9.0.5", + "version_name": "0.9.0-dev.5", "minimum_chrome_version": "51", "minimum_opera_version": "36", "applications": { diff --git a/packages/taler-wallet-webextension/manifest-v3.json b/packages/taler-wallet-webextension/manifest-v3.json index aac4407eb..3617fd86f 100644 --- a/packages/taler-wallet-webextension/manifest-v3.json +++ b/packages/taler-wallet-webextension/manifest-v3.json @@ -3,8 +3,8 @@ "name": "GNU Taler Wallet (git)", "description": "Privacy preserving and transparent payments", "author": "GNU Taler Developers", - "version": "0.9.0.4", - "version_name": "0.9.0-dev.4", + "version": "0.9.0.5", + "version_name": "0.9.0-dev.5", "minimum_chrome_version": "88", "icons": { "32": "static/img/icon.png",