diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-01-23 10:28:24 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-02-12 16:12:07 +0100 |
commit | fe6960cce854cd4c665a27c4368e4397c8e7bcfb (patch) | |
tree | 162a95572079b3e7a014cb845ee028329a06f5f8 /src/exchange-lib/testing_api_cmd_exec_wirewatch.c | |
parent | b198bb3867b6a15c65a8860af12d7a634de906a0 (diff) | |
download | exchange-fe6960cce854cd4c665a27c4368e4397c8e7bcfb.tar.xz |
Implement new traits-based tests.
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_exec_wirewatch.c')
-rw-r--r-- | src/exchange-lib/testing_api_cmd_exec_wirewatch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exchange-lib/testing_api_cmd_exec_wirewatch.c b/src/exchange-lib/testing_api_cmd_exec_wirewatch.c index 7b95afbc4..107ac55a7 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); } |