diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-09-06 16:36:50 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-09-06 16:36:50 +0530 |
commit | cde4d13df8d9af64eccc82dd13965f2045c8f78c (patch) | |
tree | 694917f5fa492e3883129a510d2ed0dea176297b /packages/taler-wallet-core/src | |
parent | 9cb0409cfdb0d841a65129ac82e730be7e6d6efe (diff) | |
download | wallet-core-cde4d13df8d9af64eccc82dd13965f2045c8f78c.tar.xz |
fix outdated test case
Diffstat (limited to 'packages/taler-wallet-core/src')
-rw-r--r-- | packages/taler-wallet-core/src/util/taleruri-test.ts | 6 |
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(); |