summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_get_transfers.c
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-02 02:05:08 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-02 02:05:08 -0400
commit03ca8c13996b1222ef11321c31c5e560f44058e4 (patch)
tree6135bd73dc7cc9eb7079bab90635561c7c456e1c /src/testing/testing_api_cmd_get_transfers.c
parentdcd5a4c81f8ac87a8fa103f26e9726b637c6a516 (diff)
downloadmerchant-03ca8c13996b1222ef11321c31c5e560f44058e4.tar.gz
merchant-03ca8c13996b1222ef11321c31c5e560f44058e4.tar.bz2
merchant-03ca8c13996b1222ef11321c31c5e560f44058e4.zip
twister, get tips, instance, and post transfer tests
Diffstat (limited to 'src/testing/testing_api_cmd_get_transfers.c')
-rw-r--r--src/testing/testing_api_cmd_get_transfers.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/testing/testing_api_cmd_get_transfers.c b/src/testing/testing_api_cmd_get_transfers.c
index 634a0ed7..d0efa13a 100644
--- a/src/testing/testing_api_cmd_get_transfers.c
+++ b/src/testing/testing_api_cmd_get_transfers.c
@@ -110,9 +110,16 @@ get_transfers_cb (
switch (hr->http_status)
{
case MHD_HTTP_OK:
+ if (transfers_length != gts->transfers_length)
{
- // FIXME: check that list of returned transactions matches our expectations!
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Transfers length does not match\n");
+ TALER_TESTING_interpreter_fail (gts->is);
+ return;
}
+ // {
+ // FIXME: check that list of returned transactions matches our expectations!
+ // }
break;
default:
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,