gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] 06/07: Make a "payback" bit appear into th


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] 06/07: Make a "payback" bit appear into the history.
Date: Fri, 18 May 2018 17:25:18 +0200

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

marcello pushed a commit to branch master
in repository exchange.

commit b86a3580f8afde1f85bc78a00fce8514932e6d1d
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri May 18 17:04:36 2018 +0200

    Make a "payback" bit appear into the history.
---
 src/exchange-lib/test_exchange_api_new.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/exchange-lib/test_exchange_api_new.c 
b/src/exchange-lib/test_exchange_api_new.c
index 75f5fe6..1629cf3 100644
--- a/src/exchange-lib/test_exchange_api_new.c
+++ b/src/exchange-lib/test_exchange_api_new.c
@@ -634,6 +634,14 @@ run (void *cls,
                                        "EUR:1",
                                        MHD_HTTP_OK),
 
+    /* This withdrawal will test the logic to create
+     * a "payback" element to insert into the reserve's history.  */
+    TALER_TESTING_cmd_withdraw_amount ("payback-withdraw-coin-2-over",
+                                       is->exchange,
+                                       "payback-create-reserve-1",
+                                       "EUR:10",
+                                       MHD_HTTP_OK),
+
     TALER_TESTING_cmd_status ("payback-reserve-status-2",
                               is->exchange,
                               "payback-create-reserve-1",
@@ -664,9 +672,6 @@ run (void *cls,
        "EUR:1",
        MHD_HTTP_FORBIDDEN),
 
-    /* Should also test a "insufficient funds" error
-     * after payback happened.  */
-
     TALER_TESTING_cmd_check_bank_transfer
       ("check_bank_short-lived_transfer",
        exchange_url,

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



reply via email to

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