summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_merchant_get_order.c
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-06-23 17:08:28 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-06-23 17:08:28 -0400
commitd34f954dcaf6d064931d47f0c90576f3b1dbf648 (patch)
tree90b74e39bee371213d93286eeb5f8a10dc2c3e28 /src/testing/testing_api_cmd_merchant_get_order.c
parentd52356b4ac66bc22f3c7195490ff713668f340b1 (diff)
downloadmerchant-d34f954dcaf6d064931d47f0c90576f3b1dbf648.tar.gz
merchant-d34f954dcaf6d064931d47f0c90576f3b1dbf648.tar.bz2
merchant-d34f954dcaf6d064931d47f0c90576f3b1dbf648.zip
harder tests for GET /private/instances, GET /private/products
Diffstat (limited to 'src/testing/testing_api_cmd_merchant_get_order.c')
-rw-r--r--src/testing/testing_api_cmd_merchant_get_order.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testing/testing_api_cmd_merchant_get_order.c b/src/testing/testing_api_cmd_merchant_get_order.c
index 5f148115..985e9116 100644
--- a/src/testing/testing_api_cmd_merchant_get_order.c
+++ b/src/testing/testing_api_cmd_merchant_get_order.c
@@ -75,6 +75,11 @@ merchant_get_order_cb (
{
/* FIXME, deeper checks should be implemented here. */
struct MerchantGetOrderState *gos = cls;
+ const struct TALER_TESTING_Command *order_cmd;
+
+ order_cmd = TALER_TESTING_interpreter_lookup_command (
+ gos->is,
+ gos->order_reference);
gos->ogh = NULL;
if (gos->http_status != hr->http_status)