aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-09-06 16:36:50 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-09-06 16:36:50 +0530
commitcde4d13df8d9af64eccc82dd13965f2045c8f78c (patch)
tree694917f5fa492e3883129a510d2ed0dea176297b
parent9cb0409cfdb0d841a65129ac82e730be7e6d6efe (diff)
fix outdated test case
-rw-r--r--packages/taler-wallet-core/src/util/taleruri-test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/util/taleruri-test.ts b/packages/taler-wallet-core/src/util/taleruri-test.ts
index b6c326119..e80acc5c3 100644
--- a/packages/taler-wallet-core/src/util/taleruri-test.ts
+++ b/packages/taler-wallet-core/src/util/taleruri-test.ts
@@ -76,7 +76,7 @@ test("taler pay url parsing (claim token)", (t) => {
});
test("taler refund uri parsing: non-https #1", (t) => {
- const url1 = "taler+http://refund/example.com/myorder";
+ const url1 = "taler+http://refund/example.com/myorder/";
const r1 = parseRefundUri(url1);
if (!r1) {
t.fail();
@@ -130,7 +130,7 @@ test("taler withdraw uri parsing (http)", (t) => {
});
test("taler refund uri parsing", (t) => {
- const url1 = "taler://refund/merchant.example.com/1234";
+ const url1 = "taler://refund/merchant.example.com/1234/";
const r1 = parseRefundUri(url1);
if (!r1) {
t.fail();
@@ -141,7 +141,7 @@ test("taler refund uri parsing", (t) => {
});
test("taler refund uri parsing with instance", (t) => {
- const url1 = "taler://refund/merchant.example.com/instances/myinst/1234";
+ const url1 = "taler://refund/merchant.example.com/instances/myinst/1234/";
const r1 = parseRefundUri(url1);
if (!r1) {
t.fail();