gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: add setup steps to tests


From: gnunet
Subject: [taler-merchant] branch master updated: add setup steps to tests
Date: Fri, 11 Dec 2020 23:46:49 +0100

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new dcb48238 add setup steps to tests
dcb48238 is described below

commit dcb48238641e7d82f5e7c1c0e3e0d029765fffe5
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Dec 11 23:46:47 2020 +0100

    add setup steps to tests
---
 src/testing/test_merchant_api.c         | 15 ++++++++++++++-
 src/testing/test_merchant_api_twisted.c | 13 +++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c
index a5f0889d..dcf2862e 100644
--- a/src/testing/test_merchant_api.c
+++ b/src/testing/test_merchant_api.c
@@ -1131,6 +1131,19 @@ run (void *cls,
   };
 
   struct TALER_TESTING_Command commands[] = {
+    /* general setup */
+    TALER_TESTING_cmd_auditor_add ("add-auditor-OK",
+                                   MHD_HTTP_NO_CONTENT,
+                                   false),
+    TALER_TESTING_cmd_wire_add ("add-wire-account",
+                                "payto://x-taler-bank/localhost/2",
+                                MHD_HTTP_NO_CONTENT,
+                                false),
+    TALER_TESTING_cmd_exec_offline_sign_keys ("offline-sign-future-keys",
+                                              CONFIG_FILE),
+    TALER_TESTING_cmd_check_keys_pull_all_keys ("refetch /keys",
+                                                1,
+                                                20 /* FIXME: wrong number... 
*/),
     TALER_TESTING_cmd_batch ("orders-id",
                              get_private_order_id),
     TALER_TESTING_cmd_config ("config",
@@ -1410,7 +1423,7 @@ run (void *cls,
     TALER_TESTING_cmd_batch ("tip",
                              tip),
     /**
-     * End the suite.  
+     * End the suite.
      */
     TALER_TESTING_cmd_end ()
   };
diff --git a/src/testing/test_merchant_api_twisted.c 
b/src/testing/test_merchant_api_twisted.c
index df3650a4..95dd50ae 100644
--- a/src/testing/test_merchant_api_twisted.c
+++ b/src/testing/test_merchant_api_twisted.c
@@ -321,6 +321,19 @@ run (void *cls,
   };
 
   struct TALER_TESTING_Command commands[] = {
+    /* general setup */
+    TALER_TESTING_cmd_auditor_add ("add-auditor-OK",
+                                   MHD_HTTP_NO_CONTENT,
+                                   false),
+    TALER_TESTING_cmd_wire_add ("add-wire-account",
+                                "payto://x-taler-bank/localhost/2",
+                                MHD_HTTP_NO_CONTENT,
+                                false),
+    TALER_TESTING_cmd_exec_offline_sign_keys ("offline-sign-future-keys",
+                                              CONFIG_FILE),
+    TALER_TESTING_cmd_check_keys_pull_all_keys ("refetch /keys",
+                                                1,
+                                                20 /* FIXME: wrong number... 
*/),
     TALER_TESTING_cmd_merchant_post_instances ("instance-create-default",
                                                twister_merchant_url,
                                                "default",

-- 
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]