From fe6960cce854cd4c665a27c4368e4397c8e7bcfb Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 23 Jan 2018 10:28:24 +0100 Subject: Implement new traits-based tests. --- src/exchange-lib/testing_api_cmd_exec_wirewatch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/exchange-lib/testing_api_cmd_exec_wirewatch.c') diff --git a/src/exchange-lib/testing_api_cmd_exec_wirewatch.c b/src/exchange-lib/testing_api_cmd_exec_wirewatch.c index 7b95afbc..107ac55a 100644 --- a/src/exchange-lib/testing_api_cmd_exec_wirewatch.c +++ b/src/exchange-lib/testing_api_cmd_exec_wirewatch.c @@ -122,11 +122,11 @@ static int wirewatch_traits (void *cls, void **ret, const char *trait, - const char *selector) + unsigned int index) { struct WirewatchState *ws = cls; struct TALER_TESTING_Trait traits[] = { - TALER_TESTING_make_trait_process (NULL, + TALER_TESTING_make_trait_process (0, &ws->wirewatch_proc), TALER_TESTING_trait_end () }; @@ -134,7 +134,7 @@ wirewatch_traits (void *cls, return TALER_TESTING_get_trait (traits, ret, trait, - selector); + index); } -- cgit v1.2.3