aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-07-23 15:34:01 +0200
committerChristian Grothoff <christian@grothoff.org>2024-07-29 12:18:47 +0200
commit47d273fa8f108d902a349cbf5bd58d8f77e0b844 (patch)
treee914d0fd3460b388f11730f68c33a71621ae3696 /src/testing
parentbb0e94d45a6ea807963e35ecdb5894758a7da8cf (diff)
-fix small bugs
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/test_exchange_p2p.c6
-rw-r--r--src/testing/testing_api_cmd_reserve_open.c1
2 files changed, 4 insertions, 3 deletions
diff --git a/src/testing/test_exchange_p2p.c b/src/testing/test_exchange_p2p.c
index cf31879ac..fe9a0e8bc 100644
--- a/src/testing/test_exchange_p2p.c
+++ b/src/testing/test_exchange_p2p.c
@@ -484,13 +484,13 @@ run (void *cls,
"reserve-101-close-kyc",
"create-reserve-101",
/* 42b => not to origin */
- "payto://x-taler-bank/localhost/42?receiver-name=42b",
+ "payto://x-taler-bank/localhost/42b?receiver-name=42b",
MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS),
TALER_TESTING_cmd_admin_add_kycauth (
"setup-account-key",
"EUR:0.01",
&cred.ba,
- "payto://x-taler-bank/localhost/42?receiver-name=42b",
+ "payto://x-taler-bank/localhost/42b?receiver-name=42b",
NULL /* create new key */),
CMD_EXEC_WIREWATCH (
"import-kyc-account"),
@@ -515,7 +515,7 @@ run (void *cls,
"reserve-101-close",
"create-reserve-101",
/* 42b => not to origin */
- "payto://x-taler-bank/localhost/42?receiver-name=42b",
+ "payto://x-taler-bank/localhost/42b?receiver-name=42b",
MHD_HTTP_OK),
TALER_TESTING_cmd_exec_closer (
"close-reserves-101",
diff --git a/src/testing/testing_api_cmd_reserve_open.c b/src/testing/testing_api_cmd_reserve_open.c
index 189d06b26..10c012f8f 100644
--- a/src/testing/testing_api_cmd_reserve_open.c
+++ b/src/testing/testing_api_cmd_reserve_open.c
@@ -286,6 +286,7 @@ open_cleanup (void *cls,
TALER_EXCHANGE_reserves_open_cancel (ss->rsh);
ss->rsh = NULL;
}
+ GNUNET_free (ss->cd);
GNUNET_free (ss);
}