bump version, fix test

This commit is contained in:
Florian Dold 2022-01-27 20:30:08 +01:00
parent d2f17c8dac
commit af3082f448
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
3 changed files with 18 additions and 4 deletions

View File

@ -48,7 +48,10 @@ export async function runPaymentTest(t: GlobalTestState) {
}; };
await makeTestPayment(t, { wallet, merchant, order }); await makeTestPayment(t, { wallet, merchant, order });
await wallet.runUntilDone();
// Test JSON normalization of contract terms: Does the wallet
// agree with the merchant?
const order2 = { const order2 = {
summary: "Testing “unicode” characters", summary: "Testing “unicode” characters",
amount: "TESTKUDOS:5", amount: "TESTKUDOS:5",
@ -56,6 +59,17 @@ export async function runPaymentTest(t: GlobalTestState) {
}; };
await makeTestPayment(t, { wallet, merchant, order: order2 }); 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(); await wallet.runUntilDone();
} }

View File

@ -3,8 +3,8 @@
"name": "GNU Taler Wallet (git)", "name": "GNU Taler Wallet (git)",
"description": "Privacy preserving and transparent payments", "description": "Privacy preserving and transparent payments",
"author": "GNU Taler Developers", "author": "GNU Taler Developers",
"version": "0.9.0.4", "version": "0.9.0.5",
"version_name": "0.9.0-dev.4", "version_name": "0.9.0-dev.5",
"minimum_chrome_version": "51", "minimum_chrome_version": "51",
"minimum_opera_version": "36", "minimum_opera_version": "36",
"applications": { "applications": {

View File

@ -3,8 +3,8 @@
"name": "GNU Taler Wallet (git)", "name": "GNU Taler Wallet (git)",
"description": "Privacy preserving and transparent payments", "description": "Privacy preserving and transparent payments",
"author": "GNU Taler Developers", "author": "GNU Taler Developers",
"version": "0.9.0.4", "version": "0.9.0.5",
"version_name": "0.9.0-dev.4", "version_name": "0.9.0-dev.5",
"minimum_chrome_version": "88", "minimum_chrome_version": "88",
"icons": { "icons": {
"32": "static/img/icon.png", "32": "static/img/icon.png",