fix outdated test case

This commit is contained in:
Florian Dold 2020-09-06 16:36:50 +05:30
parent 9cb0409cfd
commit cde4d13df8
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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();