summaryrefslogtreecommitdiff
path: root/src/testing/test_taler_exchange_aggregator.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-11 23:44:01 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-11 23:44:01 +0100
commit2a3de6555abde9a7159187e01ee140192b155f25 (patch)
tree1929947be7a3540065871ed92d01249196b393af /src/testing/test_taler_exchange_aggregator.c
parentc7b5def7079783e4abb433646bc6c1c56332872a (diff)
downloadexchange-2a3de6555abde9a7159187e01ee140192b155f25.tar.gz
exchange-2a3de6555abde9a7159187e01ee140192b155f25.tar.bz2
exchange-2a3de6555abde9a7159187e01ee140192b155f25.zip
add setup steps to tests
Diffstat (limited to 'src/testing/test_taler_exchange_aggregator.c')
-rw-r--r--src/testing/test_taler_exchange_aggregator.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/testing/test_taler_exchange_aggregator.c b/src/testing/test_taler_exchange_aggregator.c
index d5c392d3a..57e73cd17 100644
--- a/src/testing/test_taler_exchange_aggregator.c
+++ b/src/testing/test_taler_exchange_aggregator.c
@@ -96,7 +96,6 @@ run (void *cls,
struct TALER_TESTING_Interpreter *is)
{
struct TALER_TESTING_Command all[] = {
-
// check no aggregation happens on a empty database
CMD_EXEC_AGGREGATOR ("run-aggregator-on-empty-db",
config_filename),
@@ -550,22 +549,23 @@ main (int argc,
TALER_TESTING_cleanup_files (config_filename);
- if (GNUNET_OK != TALER_TESTING_prepare_exchange (config_filename,
- GNUNET_YES,
- &ec))
+ if (GNUNET_OK !=
+ TALER_TESTING_prepare_exchange (config_filename,
+ GNUNET_YES,
+ &ec))
{
TALER_LOG_WARNING ("Could not prepare the exchange.\n");
return 77;
}
- if (GNUNET_OK != TALER_TESTING_prepare_fakebank (config_filename,
- "exchange-account-1",
- &bc))
+ if (GNUNET_OK !=
+ TALER_TESTING_prepare_fakebank (config_filename,
+ "exchange-account-1",
+ &bc))
{
TALER_LOG_WARNING ("Could not prepare the fakebank\n");
return 77;
}
-
if (GNUNET_OK !=
GNUNET_CONFIGURATION_parse_and_run (config_filename,
&prepare_database,