diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-03-04 12:08:18 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-03-04 12:08:18 +0100 |
commit | 1ca25d6db21187dd82d83edbda11a507c16ec9f3 (patch) | |
tree | 113e72558c7ee82c89552c871d903f7f65440d26 /src/testing/testing_api_cmd_delete_order.c | |
parent | 39232092eb3038d720d81e6b7891f6bdd7c048f0 (diff) | |
download | merchant-1ca25d6db21187dd82d83edbda11a507c16ec9f3.tar.gz merchant-1ca25d6db21187dd82d83edbda11a507c16ec9f3.tar.bz2 merchant-1ca25d6db21187dd82d83edbda11a507c16ec9f3.zip |
fix #6780
Diffstat (limited to 'src/testing/testing_api_cmd_delete_order.c')
-rw-r--r-- | src/testing/testing_api_cmd_delete_order.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/testing/testing_api_cmd_delete_order.c b/src/testing/testing_api_cmd_delete_order.c index 73bf93be..6d97b611 100644 --- a/src/testing/testing_api_cmd_delete_order.c +++ b/src/testing/testing_api_cmd_delete_order.c @@ -87,11 +87,19 @@ delete_order_cb (void *cls, } switch (hr->http_status) { - case MHD_HTTP_OK: + case MHD_HTTP_NO_CONTENT: + break; + case MHD_HTTP_UNAUTHORIZED: + break; + case MHD_HTTP_NOT_FOUND: + break; + case MHD_HTTP_CONFLICT: break; default: + GNUNET_break (0); GNUNET_log (GNUNET_ERROR_TYPE_WARNING, - "Unhandled HTTP status.\n"); + "Unhandled HTTP status %d.\n", + hr->http_status); } TALER_TESTING_interpreter_next (dos->is); } |