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: make db testcase fa


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: make db testcase fail, as a reminder of refund logic incomplete.
Date: Fri, 09 Jun 2017 15:18:28 +0200

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

marcello pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new b606c98  make db testcase fail, as a reminder of refund logic 
incomplete.
b606c98 is described below

commit b606c988d589e66b6dd4d26fec553921540c0e2f
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jun 9 15:18:10 2017 +0200

    make db testcase fail, as a reminder of refund logic incomplete.
---
 src/backenddb/plugin_merchantdb_postgres.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/backenddb/plugin_merchantdb_postgres.c 
b/src/backenddb/plugin_merchantdb_postgres.c
index bea9221..ee2180d 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -1902,6 +1902,8 @@ postgres_increase_refund_for_contract (void *cls,
                 TALER_B2S (&coin_pub),
                 TALER_amount_to_string (&amount_with_fee),
                 TALER_amount_to_string (&refunded_amount));
+    /*NOTE: this makes testcase fail. To keep around until logic has been 
written*/
+    return GNUNET_SYSERR;
   }
 
   if (GNUNET_OK != postgres_commit (cls))

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



reply via email to

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