diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-01-22 20:15:26 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-01-22 20:15:26 +0100 |
commit | bd799135b4368144a87f4b596899f443f91bea69 (patch) | |
tree | fc1b4815f4c85303111b2c09f2f6028410796f40 | |
parent | 00d25284e072265b36c4b11597368148631d3ea5 (diff) | |
download | merchant-bd799135b4368144a87f4b596899f443f91bea69.tar.gz merchant-bd799135b4368144a87f4b596899f443f91bea69.tar.bz2 merchant-bd799135b4368144a87f4b596899f443f91bea69.zip |
fix #B5258-12808 issue
-rw-r--r-- | src/lib/test_merchant_api.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c index b7b253da..9e0dc15a 100644 --- 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", |