diff options
author | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-06-19 20:07:40 -0400 |
---|---|---|
committer | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-06-19 20:07:40 -0400 |
commit | 37bfe1471b8b4c2136ab72ef91cec3297ec98b0c (patch) | |
tree | 9f3bbd705dedba15b5d6f0bc740d4c4b283205e2 /src/testing/test_merchant_api.c | |
parent | e35244074480faa18f6370e4d5b800ed35d8ef94 (diff) | |
download | merchant-37bfe1471b8b4c2136ab72ef91cec3297ec98b0c.tar.gz merchant-37bfe1471b8b4c2136ab72ef91cec3297ec98b0c.tar.bz2 merchant-37bfe1471b8b4c2136ab72ef91cec3297ec98b0c.zip |
naive tests for the family of GET order(s) methods
Diffstat (limited to 'src/testing/test_merchant_api.c')
-rw-r--r-- | src/testing/test_merchant_api.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c index 8920a2a4..fa7f80db 100644 --- a/src/testing/test_merchant_api.c +++ b/src/testing/test_merchant_api.c @@ -282,6 +282,17 @@ run (void *cls, \"fulfillment_url\": \"https://example.com/\",\ \"products\": [ {\"description\":\"ice cream\",\ \"value\":\"{EUR:5}\"} ] }"), + TALER_TESTING_cmd_merchant_get_orders ("get-orders-1", + merchant_url, + MHD_HTTP_OK), + TALER_TESTING_cmd_wallet_get_order ("get-order-wallet-1", + merchant_url, + "create-proposal-1", + MHD_HTTP_OK), + TALER_TESTING_cmd_merchant_get_order ("get-order-merchant-1", + merchant_url, + "create-proposal-1", + MHD_HTTP_OK), #if 0 TALER_TESTING_cmd_check_payment ("check-payment-1", merchant_url, @@ -1078,9 +1089,9 @@ run (void *cls, MHD_HTTP_NO_CONTENT), TALER_TESTING_cmd_batch ("pay", pay), -#if 0 TALER_TESTING_cmd_batch ("double-spending", double_spending), +#if 0 TALER_TESTING_cmd_batch ("track", track), TALER_TESTING_cmd_history ("history-2", |