summaryrefslogtreecommitdiff
path: root/src/testing/test_merchant_api_twisted.c
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-16 02:18:22 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-16 02:18:22 -0400
commitadd99bf305d986cf14805cc99767cf665a1ccacb (patch)
tree4b14c62cce38bf0f8997c49946aa039cf2fd94d4 /src/testing/test_merchant_api_twisted.c
parent46fdfc6cf7001a1e158690ca30468b68ab887a02 (diff)
downloadmerchant-add99bf305d986cf14805cc99767cf665a1ccacb.tar.gz
merchant-add99bf305d986cf14805cc99767cf665a1ccacb.tar.bz2
merchant-add99bf305d986cf14805cc99767cf665a1ccacb.zip
more fixes/tests for claim order and get tips
Diffstat (limited to 'src/testing/test_merchant_api_twisted.c')
-rw-r--r--src/testing/test_merchant_api_twisted.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/testing/test_merchant_api_twisted.c b/src/testing/test_merchant_api_twisted.c
index baf025d3..282d18ef 100644
--- a/src/testing/test_merchant_api_twisted.c
+++ b/src/testing/test_merchant_api_twisted.c
@@ -357,16 +357,20 @@ run (void *cls,
"1",
GNUNET_TIME_UNIT_ZERO_ABS,
GNUNET_TIME_UNIT_FOREVER_ABS,
- "EUR:5.0"),
- TALER_TESTING_cmd_malform_response ("malform-exchange-reponse-1",
- PROXY_EXCHANGE_CONFIG_FILE),
- TALER_TESTING_cmd_merchant_pay_order ("deposit-simple",
+ "EUR:6.0"),
+ TALER_TESTING_cmd_merchant_pay_order ("deposit-1",
merchant_url,
- MHD_HTTP_FAILED_DEPENDENCY,
+ MHD_HTTP_NOT_ACCEPTABLE,
"create-proposal-1",
"withdraw-coin-1",
"EUR:5",
"EUR:4.99"),
+ TALER_TESTING_cmd_malform_response ("malform-abort-merchant-exchange",
+ PROXY_EXCHANGE_CONFIG_FILE),
+ TALER_TESTING_cmd_merchant_order_abort ("pay-abort-1",
+ merchant_url,
+ "deposit-1",
+ MHD_HTTP_INTERNAL_SERVER_ERROR),
TALER_TESTING_cmd_end ()
};