gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] 04/12: putting tip-query under test.


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] 04/12: putting tip-query under test.
Date: Mon, 26 Mar 2018 10:37:58 +0200

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

marcello pushed a commit to branch master
in repository merchant.

commit b97d4e7b475a0e637c24f3f3ea17d79f572d9067
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Mar 23 11:56:54 2018 +0100

    putting tip-query under test.
---
 src/lib/test_merchant_api_new.c | 5 +++++
 src/lib/testing_api_cmd_tip.c   | 1 +
 2 files changed, 6 insertions(+)

diff --git a/src/lib/test_merchant_api_new.c b/src/lib/test_merchant_api_new.c
index a9a33fc..a412fb6 100644
--- a/src/lib/test_merchant_api_new.c
+++ b/src/lib/test_merchant_api_new.c
@@ -497,6 +497,11 @@ run (void *cls,
                                      "tip 2",
                                      "EUR:5.01"),
 
+    TALER_TESTING_cmd_tip_query ("query-1",
+                                 merchant_url,
+                                 is->ctx,
+                                 MHD_HTTP_OK,
+                                 "tip"),
 
     /* Will fail here until all new
      * transfers have not been checked.  I.e.,
diff --git a/src/lib/testing_api_cmd_tip.c b/src/lib/testing_api_cmd_tip.c
index 4284a41..38a155b 100644
--- a/src/lib/testing_api_cmd_tip.c
+++ b/src/lib/testing_api_cmd_tip.c
@@ -412,6 +412,7 @@ TALER_TESTING_cmd_tip_query (const char *label,
   tqs->merchant_url = merchant_url;
   tqs->ctx = ctx;
   tqs->instance = instance;
+  tqs->http_status = http_status;
 
   cmd.cls = tqs;
   cmd.label = label;

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



reply via email to

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