summaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-08 02:19:55 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-08 02:19:55 -0400
commita5e33f1a6d3f865a7c169783c63007cfdd3c30eb (patch)
tree8d5d767e2b8e954e47a76c242f9bda462ed348fb /src/testing
parentc7ecaf16355824dce4a2c420b9ded6e5a48dacc8 (diff)
downloadmerchant-a5e33f1a6d3f865a7c169783c63007cfdd3c30eb.tar.gz
merchant-a5e33f1a6d3f865a7c169783c63007cfdd3c30eb.tar.bz2
merchant-a5e33f1a6d3f865a7c169783c63007cfdd3c30eb.zip
purge instance and more merchant api purge tests
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/test_merchant_api.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c
index e79c9ab8..ca4a4472 100644
--- a/src/testing/test_merchant_api.c
+++ b/src/testing/test_merchant_api.c
@@ -271,6 +271,10 @@ run (void *cls,
"create-reserve-1",
"EUR:0",
MHD_HTTP_OK),
+ TALER_TESTING_cmd_merchant_delete_order ("delete-order-nx",
+ merchant_url,
+ "1",
+ MHD_HTTP_NOT_FOUND),
TALER_TESTING_cmd_poll_orders_start ("poll-orders-1-start",
merchant_url,
GNUNET_TIME_UNIT_MINUTES),
@@ -1153,6 +1157,18 @@ run (void *cls,
GNUNET_TIME_UNIT_MINUTES,
2,
MHD_HTTP_NO_CONTENT),
+ TALER_TESTING_cmd_merchant_delete_product ("delete-product-locked",
+ merchant_url,
+ "product-2",
+ MHD_HTTP_CONFLICT),
+ TALER_TESTING_cmd_merchant_purge_instance ("instance-purge-i1",
+ merchant_url,
+ "i1",
+ MHD_HTTP_NO_CONTENT),
+ TALER_TESTING_cmd_merchant_delete_instance ("instance-delete-i1-again",
+ merchant_url,
+ "i1",
+ MHD_HTTP_NOT_FOUND),
TALER_TESTING_cmd_batch ("pay",
pay),
TALER_TESTING_cmd_batch ("double-spending",