gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: address FIXMEs


From: gnunet
Subject: [taler-exchange] branch master updated: address FIXMEs
Date: Thu, 16 Jan 2020 20:26:18 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 621f33a3 address FIXMEs
621f33a3 is described below

commit 621f33a3d8e5ed9fcc827712c87c7e0296b2883b
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Jan 16 20:26:16 2020 +0100

    address FIXMEs
---
 src/lib/test_exchange_api.c | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/src/lib/test_exchange_api.c b/src/lib/test_exchange_api.c
index dc07e6b5..e8bb1efb 100644
--- a/src/lib/test_exchange_api.c
+++ b/src/lib/test_exchange_api.c
@@ -206,18 +206,14 @@ run (void *cls,
   };
 
   struct TALER_TESTING_Command refresh[] = {
-    /* Fill reserve with EUR:5, 1ct is for fees.  NOTE: the old
-     * test-suite gave a account number of _424_ to the user at
-     * this step; to type less, here the _42_ number is reused.
-     * Does this change the tests semantics? */
+    /* Fill reserve with EUR:5, 1ct is for fees. */
     CMD_TRANSFER_TO_EXCHANGE ("refresh-create-reserve-1",
                               "EUR:5.01"),
-    TALER_TESTING_cmd_check_bank_admin_transfer (
-      "check-refresh-create-reserve-1",
-      "EUR:5.01",
-      bc.user42_payto,
-      bc.exchange_payto,
-      "refresh-create-reserve-1"),
+    TALER_TESTING_cmd_check_bank_admin_transfer ("ck-refresh-create-reserve-1",
+                                                 "EUR:5.01",
+                                                 bc.user42_payto,
+                                                 bc.exchange_payto,
+                                                 "refresh-create-reserve-1"),
     /**
      * Make previous command effective.
      */
@@ -294,8 +290,13 @@ run (void *cls,
                                     "refresh-withdraw-coin-1",
                                     MHD_HTTP_CONFLICT,
                                     NULL),
-    /* FIXME: also test with coin that was already melted
-     * (signature differs from coin that was deposited...) */
+    /* Test running a failing melt operation (on a coin that
+       was itself revealed and subsequently deposited) */
+    TALER_TESTING_cmd_refresh_melt ("refresh-melt-failing-2",
+                                    "refresh-reveal-1",
+                                    MHD_HTTP_CONFLICT,
+                                    NULL),
+
     TALER_TESTING_cmd_end ()
   };
 

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



reply via email to

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