summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_delete_product.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_cmd_delete_product.c')
-rw-r--r--src/testing/testing_api_cmd_delete_product.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/testing/testing_api_cmd_delete_product.c b/src/testing/testing_api_cmd_delete_product.c
index 6fed8d46..77de9261 100644
--- a/src/testing/testing_api_cmd_delete_product.c
+++ b/src/testing/testing_api_cmd_delete_product.c
@@ -120,11 +120,12 @@ delete_product_run (void *cls,
struct DeleteProductState *dis = cls;
dis->is = is;
- dis->pdh = TALER_MERCHANT_product_delete (is->ctx,
- dis->merchant_url,
- dis->product_id,
- &delete_product_cb,
- dis);
+ dis->pdh = TALER_MERCHANT_product_delete (
+ TALER_TESTING_interpreter_get_context (is),
+ dis->merchant_url,
+ dis->product_id,
+ &delete_product_cb,
+ dis);
GNUNET_assert (NULL != dis->pdh);
}