aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_merchant_api_twisted.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-18 11:58:00 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-18 11:58:00 +0100
commitcd47c8e0afb66f2d9053082940f208347551b3a8 (patch)
tree1e50b6a5448cbab3c7422baabc8f6f67e77890ac /src/testing/test_merchant_api_twisted.c
parentd99be82b37fc00dec9b16822e815216c979d70cd (diff)
only log things as ERROR that are actually ERRORs; return 502 instead of 500 on abort failure due to malformed exchange reply
Diffstat (limited to 'src/testing/test_merchant_api_twisted.c')
-rw-r--r--src/testing/test_merchant_api_twisted.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/test_merchant_api_twisted.c b/src/testing/test_merchant_api_twisted.c
index e134c046..c6b53049 100644
--- a/src/testing/test_merchant_api_twisted.c
+++ b/src/testing/test_merchant_api_twisted.c
@@ -408,7 +408,7 @@ run (void *cls,
TALER_TESTING_cmd_merchant_order_abort ("pay-abort-1",
merchant_url,
"deposit-2",
- MHD_HTTP_INTERNAL_SERVER_ERROR),
+ MHD_HTTP_BAD_GATEWAY),
TALER_TESTING_cmd_end ()
};