gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] 31/31: test_merchant_api_* passing


From: gnunet
Subject: [taler-merchant] 31/31: test_merchant_api_* passing
Date: Thu, 18 Apr 2024 08:39:24 +0200

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

christian-blaettler pushed a commit to branch master
in repository merchant.

commit f76afc11f45e16eab755e66b741acdfd2789f9e4
Author: Christian Blättler <blatc2@bfh.ch>
AuthorDate: Wed Apr 17 07:33:51 2024 +0200

    test_merchant_api_* passing
---
 src/testing/test_merchant_api.c                  | 14 +++-----------
 src/testing/testing_api_cmd_post_tokenfamilies.c |  2 ++
 2 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c
index 78fd0da6..3f9136bc 100644
--- a/src/testing/test_merchant_api.c
+++ b/src/testing/test_merchant_api.c
@@ -1682,10 +1682,6 @@ run (void *cls,
                                        "EUR:5",
                                        0,
                                        MHD_HTTP_OK),
-    TALER_TESTING_cmd_merchant_get_orders ("get-orders-empty",
-                                           merchant_url,
-                                           MHD_HTTP_OK,
-                                           NULL),
     TALER_TESTING_cmd_merchant_post_tokenfamilies ("create-tokenfamily",
                                                    merchant_url,
                                                    MHD_HTTP_NO_CONTENT,
@@ -1706,14 +1702,8 @@ run (void *cls,
                                                     GNUNET_TIME_UNIT_ZERO_TS,
                                                     
GNUNET_TIME_UNIT_FOREVER_TS,
                                                     "EUR:5.0"),
-    /**
-     * Check the reserve is depleted.
-     */
-    TALER_TESTING_cmd_status ("withdraw-status-1",
-                              "create-reserve-tokens",
-                              "EUR:0",
-                              MHD_HTTP_OK),
 
+    TALER_TESTING_cmd_end ()
   };
 
   struct TALER_TESTING_Command commands[] = {
@@ -2038,6 +2028,8 @@ run (void *cls,
                              auth),
     TALER_TESTING_cmd_batch ("repurchase",
                              repurchase),
+    TALER_TESTING_cmd_batch ("tokens",
+                             tokens),
     /**
      * End the suite.
      */
diff --git a/src/testing/testing_api_cmd_post_tokenfamilies.c 
b/src/testing/testing_api_cmd_post_tokenfamilies.c
index ce76a543..aafff9ef 100644
--- a/src/testing/testing_api_cmd_post_tokenfamilies.c
+++ b/src/testing/testing_api_cmd_post_tokenfamilies.c
@@ -249,7 +249,9 @@ TALER_TESTING_cmd_merchant_post_tokenfamilies (
                  json_is_object (description_i18n));
   state = GNUNET_new (struct PostTokenFamiliesState);
   state->merchant_url = merchant_url;
+  state->http_status = http_status;
   state->slug = slug;
+  state->name = name;
   state->description = description;
   state->description_i18n = description_i18n; /* ownership taken */
   state->valid_after = valid_after;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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