diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-03-02 14:49:06 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-03-02 14:49:06 +0100 |
commit | 799bab22568b86ebe65825e267ba158a63f068e3 (patch) | |
tree | a72ae62b7e004879df9b0851875705ca2cc0121e /src | |
parent | f8b98058b8ed1a56b728aca82903762f1d4c807b (diff) | |
download | merchant-799bab22568b86ebe65825e267ba158a63f068e3.tar.gz merchant-799bab22568b86ebe65825e267ba158a63f068e3.tar.bz2 merchant-799bab22568b86ebe65825e267ba158a63f068e3.zip |
fix compilation regarding twister-lib dep.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Makefile.am | 1 | ||||
-rw-r--r-- | src/lib/test_merchant_api_twisted.c | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index 6c63c6f3..3fc6ba65 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -91,6 +91,7 @@ test_merchant_api_twisted_LDADD = \ $(LIBGCRYPT_LIBS) \ -ltalertesting \ -ltalermerchanttesting \ + -ltalertwistertesting \ -ltalerfakebank \ -ltalerbank \ -ltalerexchange \ diff --git a/src/lib/test_merchant_api_twisted.c b/src/lib/test_merchant_api_twisted.c index 75b3713a..8ffbd2ba 100644 --- a/src/lib/test_merchant_api_twisted.c +++ b/src/lib/test_merchant_api_twisted.c @@ -36,6 +36,7 @@ #include <taler/taler_fakebank_lib.h> #include <taler/taler_testing_lib.h> #include "taler_merchant_testing_lib.h" +#include <taler/taler_twister_testing_lib.h> #include <taler/taler_twister_service.h> /** @@ -156,7 +157,9 @@ run (void *cls, { struct TALER_TESTING_Command commands[] = { - + TALER_TESTING_cmd_hack_response_code ("hack-1", + CONFIG_FILE, + MHD_HTTP_FORBIDDEN), /** * End the suite. Fixme: better to have a label for this * too, as it shows a "(null)" token on logs. |