summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2021-11-03 00:27:27 +0100
committerChristian Grothoff <grothoff@gnunet.org>2021-11-03 00:27:27 +0100
commit8e2a3f641a9cd727b6daf67b320ac2b52e01f9f8 (patch)
tree5882565d2faa3e1cef99f9bcbab3cb4ae72d383e
parent4f51dec8a3cc2e2290fdc712f94d74381b98a154 (diff)
downloadmerchant-8e2a3f641a9cd727b6daf67b320ac2b52e01f9f8.tar.gz
merchant-8e2a3f641a9cd727b6daf67b320ac2b52e01f9f8.tar.bz2
merchant-8e2a3f641a9cd727b6daf67b320ac2b52e01f9f8.zip
add ACCEPTED case
-rw-r--r--src/testing/testing_api_cmd_get_orders.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/testing/testing_api_cmd_get_orders.c b/src/testing/testing_api_cmd_get_orders.c
index 8a08f6f8..479faac9 100644
--- a/src/testing/testing_api_cmd_get_orders.c
+++ b/src/testing/testing_api_cmd_get_orders.c
@@ -179,6 +179,9 @@ get_orders_cb (void *cls,
}
}
break;
+ case MHD_HTTP_ACCEPTED:
+ /* FIXME: do more checks here (new KYC logic!) */
+ break;
default:
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"Unhandled HTTP status.\n");
@@ -190,7 +193,6 @@ get_orders_cb (void *cls,
/**
* Run the "GET /orders" CMD.
*
- *
* @param cls closure.
* @param cmd command being run now.
* @param is interpreter state.
@@ -499,9 +501,6 @@ merchant_poll_orders_start_cleanup (void *cls,
}
-/**
- * Start a long poll for GET /private/orders.
- */
struct TALER_TESTING_Command
TALER_TESTING_cmd_poll_orders_start (const char *label,
const char *merchant_url,
@@ -586,9 +585,6 @@ merchant_poll_orders_conclude_cleanup (void *cls,
}
-/**
- * Complete a long poll for GET /private/orders.
- */
struct TALER_TESTING_Command
TALER_TESTING_cmd_poll_orders_conclude (const char *label,
unsigned int http_status,