commit b2435c163b3ea67f6f67db53d81cf49ad015fd62
parent 2407145b0e0e676ffda3c415448666deae5ae8a3
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 13 Feb 2021 21:18:52 +0100
do not require claim token
Diffstat:
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/testing/testing_api_cmd_claim_order.c b/src/testing/testing_api_cmd_claim_order.c
@@ -224,10 +224,7 @@ order_claim_run (void *cls,
TALER_TESTING_get_trait_claim_token (order_cmd,
0,
&claim_token))
- {
- TALER_TESTING_FAIL (is);
- }
-
+ claim_token = NULL;
if (GNUNET_OK !=
TALER_TESTING_get_trait_order_id (order_cmd,
0,
@@ -241,7 +238,8 @@ order_claim_run (void *cls,
claim_token,
&order_claim_cb,
pls);
- GNUNET_assert (NULL != pls->och);
+ if (NULL == pls->och)
+ TALER_TESTING_FAIL (is);
}