summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_cmd_exec_wirewatch.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-01-23 10:28:24 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-02-12 16:12:07 +0100
commitfe6960cce854cd4c665a27c4368e4397c8e7bcfb (patch)
tree162a95572079b3e7a014cb845ee028329a06f5f8 /src/exchange-lib/testing_api_cmd_exec_wirewatch.c
parentb198bb3867b6a15c65a8860af12d7a634de906a0 (diff)
downloadexchange-fe6960cce854cd4c665a27c4368e4397c8e7bcfb.tar.gz
exchange-fe6960cce854cd4c665a27c4368e4397c8e7bcfb.tar.bz2
exchange-fe6960cce854cd4c665a27c4368e4397c8e7bcfb.zip
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.c6
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);
}