summaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-07-24 21:40:51 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-07-24 21:40:51 +0200
commita1989efdab77c0e2e0628b6d52d7195fe50eb588 (patch)
tree930fb9ddc1f3b3aa3cdfef2c690d67bfd7613f02 /src/testing
parent3e29bdfb8bfda133b7c25a36160a3533e836e0b8 (diff)
downloadexchange-a1989efdab77c0e2e0628b6d52d7195fe50eb588.tar.gz
exchange-a1989efdab77c0e2e0628b6d52d7195fe50eb588.tar.bz2
exchange-a1989efdab77c0e2e0628b6d52d7195fe50eb588.zip
[age-withdraw] fixed h_commitment calculation in handlerv0.9.3-dev.5
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/test_exchange_api_age_restriction.c6
-rw-r--r--src/testing/testing_api_cmd_age_withdraw.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/testing/test_exchange_api_age_restriction.c b/src/testing/test_exchange_api_age_restriction.c
index b3f7357f7..56e46b22a 100644
--- a/src/testing/test_exchange_api_age_restriction.c
+++ b/src/testing/test_exchange_api_age_restriction.c
@@ -258,10 +258,10 @@ run (void *cls,
*/
struct TALER_TESTING_Command age_withdraw[] = {
CMD_TRANSFER_TO_EXCHANGE ("create-reserve-kyc-1",
- "EUR:20.02"),
+ "EUR:30.02"),
TALER_TESTING_cmd_check_bank_admin_transfer (
"check-create-reserve-1",
- "EUR:20.02",
+ "EUR:30.02",
cred.user42_payto,
cred.exchange_payto,
"create-reserve-kyc-1"),
@@ -295,6 +295,8 @@ run (void *cls,
8,
MHD_HTTP_OK,
"EUR:10",
+ "EUR:5",
+ "EUR:5",
NULL),
TALER_TESTING_cmd_end (),
};
diff --git a/src/testing/testing_api_cmd_age_withdraw.c b/src/testing/testing_api_cmd_age_withdraw.c
index 9b7bfd209..98a5e1d85 100644
--- a/src/testing/testing_api_cmd_age_withdraw.c
+++ b/src/testing/testing_api_cmd_age_withdraw.c
@@ -294,7 +294,7 @@ age_withdraw_run (
if (NULL == dpk)
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "Failed to determine denomination key at %s\n",
+ "Failed to determine denomination key for amount at %s\n",
(NULL != cmd) ? cmd->label : "<retried command>");
GNUNET_break (0);
TALER_TESTING_interpreter_fail (is);