summaryrefslogtreecommitdiff
path: root/src/include/taler_testing_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-04-25 23:06:58 +0200
committerChristian Grothoff <christian@grothoff.org>2023-04-25 23:06:58 +0200
commit487f23502f00cc0ec54e7cec043f41582030613d (patch)
tree3a48c14e5b9448f58548c644d59253f063121df3 /src/include/taler_testing_lib.h
parent1a3dbf8c98cd5faf784deb2cfc75a1ba1988a3c5 (diff)
downloadexchange-487f23502f00cc0ec54e7cec043f41582030613d.tar.gz
exchange-487f23502f00cc0ec54e7cec043f41582030613d.tar.bz2
exchange-487f23502f00cc0ec54e7cec043f41582030613d.zip
add nexus-fetch-transactions
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r--src/include/taler_testing_lib.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 37d347c30..5fc930a86 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -1243,6 +1243,36 @@ TALER_TESTING_cmd_exec_wirewatch (const char *label,
/**
+ * Request URL via "wget".
+ *
+ * @param label command label.
+ * @param url URL to fetch
+ * @return the command.
+ */
+struct TALER_TESTING_Command
+TALER_TESTING_cmd_exec_wget (const char *label,
+ const char *url);
+
+
+/**
+ * Request fetch-transactions via "wget".
+ *
+ * @param label command label.
+ * @param username username to use
+ * @param password password to use
+ * @param bank_base_url base URL of the nexus
+ * @param account_id account to fetch transactions for
+ * @return the command.
+ */
+struct TALER_TESTING_Command
+TALER_TESTING_cmd_nexus_fetch_transactions (const char *label,
+ const char *username,
+ const char *password,
+ const char *bank_base_url,
+ const char *account_id);
+
+
+/**
* Make a "expire" CMD.
*
* @param label command label.