gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-merchant] branch master updated: fix #B5258-12808 is


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: fix #B5258-12808 issue
Date: Mon, 22 Jan 2018 20:15:29 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new bd79913  fix #B5258-12808 issue
bd79913 is described below

commit bd799135b4368144a87f4b596899f443f91bea69
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Jan 22 20:15:26 2018 +0100

    fix #B5258-12808 issue
---
 src/lib/test_merchant_api.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c
index b7b253d..9e0dc15 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",

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]