commit 799bab22568b86ebe65825e267ba158a63f068e3
parent f8b98058b8ed1a56b728aca82903762f1d4c807b
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Fri, 2 Mar 2018 14:49:06 +0100
fix compilation regarding twister-lib dep.
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git 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
@@ -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.