diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-11 23:46:47 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-11 23:46:47 +0100 |
commit | dcb48238641e7d82f5e7c1c0e3e0d029765fffe5 (patch) | |
tree | b62a1ffc12e7adc29076c1c9a74e7653382abb18 /src/testing/test_merchant_api_twisted.c | |
parent | cdb3274dad03f6362e1e20a510bac950eef1628d (diff) | |
download | merchant-dcb48238641e7d82f5e7c1c0e3e0d029765fffe5.tar.gz merchant-dcb48238641e7d82f5e7c1c0e3e0d029765fffe5.tar.bz2 merchant-dcb48238641e7d82f5e7c1c0e3e0d029765fffe5.zip |
add setup steps to tests
Diffstat (limited to 'src/testing/test_merchant_api_twisted.c')
-rw-r--r-- | src/testing/test_merchant_api_twisted.c | 13 |
1 files changed, 13 insertions, 0 deletions
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", |