summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_post_orders.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_cmd_post_orders.c')
-rw-r--r--src/testing/testing_api_cmd_post_orders.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/testing/testing_api_cmd_post_orders.c b/src/testing/testing_api_cmd_post_orders.c
index 8ccfb005..4cbb17b0 100644
--- a/src/testing/testing_api_cmd_post_orders.c
+++ b/src/testing/testing_api_cmd_post_orders.c
@@ -286,7 +286,7 @@ order_cb (void *cls,
const struct TALER_TESTING_Command *order_cmd;
const struct TALER_ClaimTokenP *prev_token;
struct TALER_ClaimTokenP zero_token = {0};
-
+
order_cmd = TALER_TESTING_interpreter_lookup_command (
ps->is,
ps->duplicate_of);
@@ -312,6 +312,9 @@ order_cb (void *cls,
}
}
break;
+ case MHD_HTTP_NOT_FOUND:
+ TALER_TESTING_interpreter_next (ps->is);
+ return;
case MHD_HTTP_GONE:
TALER_TESTING_interpreter_next (ps->is);
return;
@@ -385,7 +388,7 @@ orders_run (void *cls,
}
if (NULL == json_object_get (order,
- "order_id"))
+ "order_id"))
{
struct GNUNET_TIME_Absolute now;
char *order_id;