summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_lock_product.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_cmd_lock_product.c')
-rw-r--r--src/testing/testing_api_cmd_lock_product.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/testing/testing_api_cmd_lock_product.c b/src/testing/testing_api_cmd_lock_product.c
index a61f1bd4..abb5920c 100644
--- a/src/testing/testing_api_cmd_lock_product.c
+++ b/src/testing/testing_api_cmd_lock_product.c
@@ -102,12 +102,18 @@ lock_product_cb (void *cls,
}
switch (hr->http_status)
{
- case MHD_HTTP_OK:
+ case MHD_HTTP_NO_CONTENT:
+ break;
+ case MHD_HTTP_FORBIDDEN:
+ break;
+ case MHD_HTTP_NOT_FOUND:
+ break;
+ case MHD_HTTP_GONE:
break;
- // FIXME: add other legitimate states here...
default:
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
- "Unhandled HTTP status.\n");
+ "Unhandled HTTP status %u for lock product.\n",
+ hr->http_status);
}
TALER_TESTING_interpreter_next (pis->is);
}