From 2a3de6555abde9a7159187e01ee140192b155f25 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 11 Dec 2020 23:44:01 +0100 Subject: add setup steps to tests --- src/testing/test_exchange_api.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/testing/test_exchange_api.c') diff --git a/src/testing/test_exchange_api.c b/src/testing/test_exchange_api.c index d30597b2..d2e18c41 100644 --- a/src/testing/test_exchange_api.c +++ b/src/testing/test_exchange_api.c @@ -946,6 +946,19 @@ run (void *cls, { struct TALER_TESTING_Command commands[] = { + /* setup exchange */ + 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, + 5 /* FIXME: wrong number... */), TALER_TESTING_cmd_batch ("wire", wire), TALER_TESTING_cmd_batch ("withdraw", -- cgit v1.2.3