aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-17 18:22:26 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-17 18:22:26 +0100
commit0463f19ece0de69f96d8e5514a45cb9518b3f0b0 (patch)
tree614f44a1ac768b3cb28050c4f9b66435f4448a42 /src/lib
parentac8bf9dd8c5ae0601686e3a677bcb244aeee6bcf (diff)
bank twister test case
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/test_bank_api_twisted.c18
1 files changed, 5 insertions, 13 deletions
diff --git a/src/lib/test_bank_api_twisted.c b/src/lib/test_bank_api_twisted.c
index 3e52880ea..d7c590db5 100644
--- a/src/lib/test_bank_api_twisted.c
+++ b/src/lib/test_bank_api_twisted.c
@@ -62,12 +62,6 @@ static struct TALER_TESTING_BankConfiguration bc;
static char *twister_url;
/**
- * Account URL of the twister where all the connections to the
- * bank that have to be proxied should be addressed to.
- */
-static char *twisted_account_url;
-
-/**
* Twister process.
*/
static struct GNUNET_OS_Process *twisterd;
@@ -89,11 +83,6 @@ run (void *cls,
struct TALER_TESTING_Interpreter *is)
{
- GNUNET_asprintf (&twisted_account_url,
- "%s%s/",
- twister_url,
- "42");
-
struct TALER_TESTING_Command commands[] = {
/**
* Can't use the "wait service" CMD here because the
@@ -102,7 +91,7 @@ run (void *cls,
TALER_TESTING_cmd_wait_service ("wait-service",
twister_url),
TALER_TESTING_cmd_bank_credits ("history-0",
- twisted_account_url,
+ bc.exchange_auth.wire_gateway_url,
&bc.exchange_auth,
NULL,
5),
@@ -161,6 +150,9 @@ main (int argc,
GNUNET_break (0);
return 77;
}
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "twister_url is %s\n",
+ twister_url);
if (NULL == (twisterd = TALER_TESTING_run_twister (cfgfilename)))
{
GNUNET_break (0);
@@ -173,7 +165,7 @@ main (int argc,
TALER_LOG_DEBUG ("Running against the Fakebank.\n");
if (GNUNET_OK !=
TALER_TESTING_prepare_fakebank (cfgfilename,
- "account-1",
+ "account-2",
&bc))
{
GNUNET_break (0);