diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-11 23:44:01 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-11 23:44:01 +0100 |
commit | 2a3de6555abde9a7159187e01ee140192b155f25 (patch) | |
tree | 1929947be7a3540065871ed92d01249196b393af /src/testing/test_exchange_api.c | |
parent | c7b5def7079783e4abb433646bc6c1c56332872a (diff) |
add setup steps to tests
Diffstat (limited to 'src/testing/test_exchange_api.c')
-rw-r--r-- | src/testing/test_exchange_api.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/testing/test_exchange_api.c b/src/testing/test_exchange_api.c index d30597b20..d2e18c41b 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", |