summaryrefslogtreecommitdiff
path: root/src/auditor-lib/test_auditor_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-25 14:40:03 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-25 14:40:03 +0100
commit5052698cbc6692c922e75081af12ad24bf8c3e69 (patch)
tree5564379f336afa2ec6a1656d1c26de98e6475fe4 /src/auditor-lib/test_auditor_api.c
parent55015a23328f7f1eac8002beb04665073a9e93c9 (diff)
downloadexchange-5052698cbc6692c922e75081af12ad24bf8c3e69.tar.gz
exchange-5052698cbc6692c922e75081af12ad24bf8c3e69.tar.bz2
exchange-5052698cbc6692c922e75081af12ad24bf8c3e69.zip
getting test_auditor_api to pass
Diffstat (limited to 'src/auditor-lib/test_auditor_api.c')
-rw-r--r--src/auditor-lib/test_auditor_api.c27
1 files changed, 21 insertions, 6 deletions
diff --git a/src/auditor-lib/test_auditor_api.c b/src/auditor-lib/test_auditor_api.c
index 6b03bb70f..bacebda4f 100644
--- a/src/auditor-lib/test_auditor_api.c
+++ b/src/auditor-lib/test_auditor_api.c
@@ -270,6 +270,27 @@ run (void *cls,
* a lot!
*/
CMD_EXEC_AGGREGATOR ("run-aggregator"),
+
+ /**
+ * Check all the transfers took place.
+ */
+ TALER_TESTING_cmd_check_bank_transfer
+ ("check_bank_transfer-499c", exchange_url,
+ "EUR:4.98", 2, 42),
+ TALER_TESTING_cmd_check_bank_transfer
+ ("check_bank_transfer-99c1", exchange_url,
+ "EUR:0.98", 2, 42),
+ TALER_TESTING_cmd_check_bank_transfer
+ ("check_bank_transfer-99c", exchange_url,
+ "EUR:0.08", 2, 43),
+ TALER_TESTING_cmd_check_bank_transfer
+ ("check_bank_transfer-aai-1", exchange_url,
+ "EUR:5.01", 42, 2),
+ TALER_TESTING_cmd_check_bank_transfer
+ ("check_bank_transfer-aai-2", exchange_url,
+ "EUR:5.01", 42, 2),
+
+ TALER_TESTING_cmd_check_bank_empty ("check_bank_empty"),
TALER_TESTING_cmd_end ()
};
@@ -505,12 +526,6 @@ main (int argc,
GNUNET_log_setup ("test-auditor-api",
"INFO",
NULL);
- if (1)
- {
- TALER_LOG_WARNING ("Test not yet ready\n");
- return 77; // FIXME: test not yet ready
- }
-
if (NULL == (fakebank_url
/* Check fakebank port is available and config cares
* about bank url. */