summaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-05-04 00:01:23 +0200
committerChristian Grothoff <christian@grothoff.org>2023-05-04 00:01:23 +0200
commit5f4f6262b4e3b1a1b6a88d5dd12c588084e703ad (patch)
tree6632d41ad09e3b643e83618c373b2e8760be0b9c /src/testing
parent8535f1e81939e87258ad9d2503ad25df9cfb021d (diff)
downloadmerchant-5f4f6262b4e3b1a1b6a88d5dd12c588084e703ad.tar.gz
merchant-5f4f6262b4e3b1a1b6a88d5dd12c588084e703ad.tar.bz2
merchant-5f4f6262b4e3b1a1b6a88d5dd12c588084e703ad.zip
misc bugfixes in taler-merchant-exchange
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/test_merchant_api.c2
-rw-r--r--src/testing/test_merchant_api.conf2
-rw-r--r--src/testing/testing_api_cmd_merchant_get_order.c6
3 files changed, 8 insertions, 2 deletions
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c
index 89bce513..391164c2 100644
--- a/src/testing/test_merchant_api.c
+++ b/src/testing/test_merchant_api.c
@@ -497,6 +497,7 @@ run (void *cls,
NULL),
TALER_TESTING_cmd_run_tme ("run taler-merchant-exchange-1",
config_file),
+#if 0
TALER_TESTING_cmd_merchant_post_transfer2 ("post-transfer-bad",
merchant_url,
PAYTO_I1,
@@ -518,6 +519,7 @@ run (void *cls,
merchant_url,
"post-transfer-bad",
MHD_HTTP_NO_CONTENT),
+#endif
TALER_TESTING_cmd_merchant_get_order2 ("get-order-merchant-1-2",
merchant_url,
"create-proposal-1",
diff --git a/src/testing/test_merchant_api.conf b/src/testing/test_merchant_api.conf
index f270d670..c0da1267 100644
--- a/src/testing/test_merchant_api.conf
+++ b/src/testing/test_merchant_api.conf
@@ -22,7 +22,7 @@ AML_THRESHOLD = EUR:1000000
[taler-helper-crypto-rsa]
# Reduce from 1 year to speed up test
-LOOKAHEAD_SIGN = 24 days
+LOOKAHEAD_SIGN = 10 days
[taler-helper-crypto-eddsa]
# Reduce from 1 year to speed up test
diff --git a/src/testing/testing_api_cmd_merchant_get_order.c b/src/testing/testing_api_cmd_merchant_get_order.c
index 467b6d61..ce472a61 100644
--- a/src/testing/testing_api_cmd_merchant_get_order.c
+++ b/src/testing/testing_api_cmd_merchant_get_order.c
@@ -333,7 +333,11 @@ merchant_get_order_cb (
transfer_fee))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "Could not total wire transfer\n");
+ "Could not compute total wire transfer amount: %s\n",
+ TALER_amount2s (transfer_amount));
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Could not compute total wire transfer amount: %s\n",
+ TALER_amount2s (transfer_fee));
TALER_TESTING_interpreter_fail (gos->is);
return;
}