diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-01-28 16:51:13 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-01-28 16:51:13 +0100 |
commit | 3dd987035bcdbe4656ee77c62795f79dd591fc96 (patch) | |
tree | 85f3b1ee1bf6ad39c1e7ef22cb01f22ca163d396 /src/lib/test_auditor_api.c | |
parent | 0b0b22c8dba00e587d9a54e3dc51b27d3102a9f3 (diff) | |
download | exchange-3dd987035bcdbe4656ee77c62795f79dd591fc96.tar.gz exchange-3dd987035bcdbe4656ee77c62795f79dd591fc96.tar.bz2 exchange-3dd987035bcdbe4656ee77c62795f79dd591fc96.zip |
Extend auditor testing-lib.
Add method to check whether a exchange (URL)
belongs to the list of audited exchanges.
Diffstat (limited to 'src/lib/test_auditor_api.c')
-rw-r--r-- | src/lib/test_auditor_api.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/test_auditor_api.c b/src/lib/test_auditor_api.c index cde3e1aa9..78db2a09a 100644 --- a/src/lib/test_auditor_api.c +++ b/src/lib/test_auditor_api.c @@ -472,8 +472,11 @@ run (void *cls, struct TALER_TESTING_Command commands[] = { - CMD_RUN_AUDITOR("virgin-auditor"), - CMD_RUN_WIRE_AUDITOR("virgin-wire-auditor"), + CMD_RUN_AUDITOR ("virgin-auditor"), + CMD_RUN_WIRE_AUDITOR ("virgin-wire-auditor"), + TALER_TESTING_cmd_exchanges_with_url ("check-exchange", + MHD_HTTP_OK, + "http://localhost:8081/"), TALER_TESTING_cmd_batch ("withdraw", withdraw), TALER_TESTING_cmd_batch ("spend", |