diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-03-23 11:56:54 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-03-23 11:56:54 +0100 |
commit | b97d4e7b475a0e637c24f3f3ea17d79f572d9067 (patch) | |
tree | c68cea8dc5b19ffe1c4278ac7720852e65ce373d | |
parent | 4daf8640a07833834f023aabd8b3b3f67be9dca9 (diff) | |
download | merchant-b97d4e7b475a0e637c24f3f3ea17d79f572d9067.tar.gz merchant-b97d4e7b475a0e637c24f3f3ea17d79f572d9067.tar.bz2 merchant-b97d4e7b475a0e637c24f3f3ea17d79f572d9067.zip |
putting tip-query under test.
-rw-r--r-- | src/lib/test_merchant_api_new.c | 5 | ||||
-rw-r--r-- | src/lib/testing_api_cmd_tip.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/test_merchant_api_new.c b/src/lib/test_merchant_api_new.c index a9a33fcb..a412fb66 100644 --- a/src/lib/test_merchant_api_new.c +++ b/src/lib/test_merchant_api_new.c @@ -497,6 +497,11 @@ run (void *cls, "tip 2", "EUR:5.01"), + TALER_TESTING_cmd_tip_query ("query-1", + merchant_url, + is->ctx, + MHD_HTTP_OK, + "tip"), /* Will fail here until all new * transfers have not been checked. I.e., diff --git a/src/lib/testing_api_cmd_tip.c b/src/lib/testing_api_cmd_tip.c index 4284a41f..38a155b4 100644 --- a/src/lib/testing_api_cmd_tip.c +++ b/src/lib/testing_api_cmd_tip.c @@ -412,6 +412,7 @@ TALER_TESTING_cmd_tip_query (const char *label, tqs->merchant_url = merchant_url; tqs->ctx = ctx; tqs->instance = instance; + tqs->http_status = http_status; cmd.cls = tqs; cmd.label = label; |