commit bd799135b4368144a87f4b596899f443f91bea69
parent 00d25284e072265b36c4b11597368148631d3ea5
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 22 Jan 2018 20:15:26 +0100
fix #B5258-12808 issue
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c
@@ -3847,6 +3847,10 @@ interpreter_run (void *cls)
GNUNET_assert (NULL != rr);
GNUNET_assert (OC_TIP_PICKUP == rr->oc);
num_planchets = rr->details.tip_pickup.num_coins;
+ ref = find_command (is,
+ rr->details.tip_pickup.authorize_ref);
+ GNUNET_assert (NULL != ref);
+ GNUNET_assert (OC_TIP_AUTHORIZE == ref->oc);
}
cmd->details.tip_pickup.num_coins = num_planchets;
{
@@ -4450,14 +4454,12 @@ run (void *cls)
.expected_response_code = MHD_HTTP_OK,
.details.tip_pickup.authorize_ref = "authorize-tip-2",
.details.tip_pickup.amounts = pickup_amounts_1 },
-#if B5258
{ .oc = OC_TIP_PICKUP,
.label = "pickup-tip-2b",
.expected_response_code = MHD_HTTP_OK,
.details.tip_pickup.replay_ref = "pickup-tip-2",
.details.tip_pickup.authorize_ref = "authorize-tip-2",
.details.tip_pickup.amounts = pickup_amounts_1 },
-#endif
/* Test authorization failure modes */
{ .oc = OC_TIP_AUTHORIZE,
.label = "authorize-tip-3-insufficient-funds",