aboutsummaryrefslogtreecommitdiff
path: root/src/lib/testing_auditor_api_helpers.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-01-24 18:46:49 +0100
committerChristian Grothoff <christian@grothoff.org>2019-01-24 18:46:49 +0100
commit531b61cd43765e16ebaacd3900241efc9a6b6616 (patch)
tree2ce28f8cdda92608589eae7aff1d7852632f1da6 /src/lib/testing_auditor_api_helpers.c
parent9de8b7762547e4064d618cf2ad1e4da8a1f6994b (diff)
parent649dd16401379285bb2260fce8dbb5eb6f24b453 (diff)
downloadexchange-531b61cd43765e16ebaacd3900241efc9a6b6616.tar.xz
adding separate test just for /verison API
Diffstat (limited to 'src/lib/testing_auditor_api_helpers.c')
-rw-r--r--src/lib/testing_auditor_api_helpers.c34
1 files changed, 2 insertions, 32 deletions
diff --git a/src/lib/testing_auditor_api_helpers.c b/src/lib/testing_auditor_api_helpers.c
index 7e7103150..c85fe47b7 100644
--- a/src/lib/testing_auditor_api_helpers.c
+++ b/src/lib/testing_auditor_api_helpers.c
@@ -70,28 +70,6 @@ cleanup_auditor (void *cls)
GNUNET_free (cc);
}
-
-
-/**
- * Function called with information about the auditor.
- *
- * @param cls closure
- * @param vi basic information about the auditor
- * @param compat protocol compatibility information
- */
-static void
-auditor_version_cb (void *cls,
- const struct TALER_AUDITOR_VersionInformation *vi,
- enum TALER_AUDITOR_VersionCompatibility compat)
-{
- struct TALER_TESTING_Interpreter *is = cls;
-
- /* TODO: check vi/compat? */
- is->auditor_working = GNUNET_YES;
-}
-
-
-
/**
* Closure for #auditor_main_wrapper()
*/
@@ -145,21 +123,13 @@ auditor_main_wrapper (void *cls,
"BASE_URL");
return;
}
- is->auditor = TALER_AUDITOR_connect (is->ctx,
- auditor_base_url,
- &auditor_version_cb,
- is);
+
GNUNET_free (auditor_base_url);
- if (NULL == is->auditor)
- {
- GNUNET_break (0);
- return;
- }
cc = GNUNET_new (struct CleanupContext);
cc->is = is;
cc->fcb = is->final_cleanup_cb;
cc->fcb_cls = is->final_cleanup_cb;
- is->final_cleanup_cb = &cleanup_auditor;
+ is->final_cleanup_cb = NULL;
is->final_cleanup_cb_cls = cc;
mwc->main_cb (mwc->main_cb_cls,
is);