summaryrefslogtreecommitdiff
path: root/src/testing/testing_cmd_truth_upload.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-06-07 23:11:35 +0200
committerChristian Grothoff <christian@grothoff.org>2023-06-07 23:11:35 +0200
commit1701d4f86a39edc390f172da6f8e72c94b6a8e97 (patch)
tree38f098aaafff012e75e5629e63a63308c5e51d30 /src/testing/testing_cmd_truth_upload.c
parentd4ab34a799965efed34bbb442710ee46dd99a32c (diff)
downloadanastasis-1701d4f86a39edc390f172da6f8e72c94b6a8e97.tar.gz
anastasis-1701d4f86a39edc390f172da6f8e72c94b6a8e97.tar.bz2
anastasis-1701d4f86a39edc390f172da6f8e72c94b6a8e97.zip
major libtalertesting API refactoring, including no longer having taler-specific logic in the test engine core
Diffstat (limited to 'src/testing/testing_cmd_truth_upload.c')
-rw-r--r--src/testing/testing_cmd_truth_upload.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/testing/testing_cmd_truth_upload.c b/src/testing/testing_cmd_truth_upload.c
index 89ba790..2e3523b 100644
--- a/src/testing/testing_cmd_truth_upload.c
+++ b/src/testing/testing_cmd_truth_upload.c
@@ -208,19 +208,20 @@ truth_upload_run (void *cls,
ANASTASIS_CRYPTO_user_identifier_derive (tus->id_data,
provider_salt,
&user_id);
- tus->tuo = ANASTASIS_truth_upload (is->ctx,
- &user_id,
- tus->anastasis_url,
- tus->method,
- tus->instructions,
- tus->mime_type,
- provider_salt,
- tus->truth_data,
- tus->truth_data_size,
- false, /* force payment */
- GNUNET_TIME_UNIT_ZERO,
- &truth_upload_cb,
- tus);
+ tus->tuo = ANASTASIS_truth_upload (
+ TALER_TESTING_interpreter_get_context (is),
+ &user_id,
+ tus->anastasis_url,
+ tus->method,
+ tus->instructions,
+ tus->mime_type,
+ provider_salt,
+ tus->truth_data,
+ tus->truth_data_size,
+ false, /* force payment */
+ GNUNET_TIME_UNIT_ZERO,
+ &truth_upload_cb,
+ tus);
if (NULL == tus->tuo)
{
GNUNET_break (0);