aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/taler_testing_lib.h5
-rw-r--r--src/lib/test_auditor_api.c2
-rw-r--r--src/lib/test_bank_api.c7
-rw-r--r--src/lib/test_bank_api_twisted.c5
-rw-r--r--src/lib/test_exchange_api.c2
-rw-r--r--src/lib/test_exchange_api_revocation.c2
-rw-r--r--src/lib/test_exchange_api_twisted.c2
-rw-r--r--src/lib/test_taler_exchange_aggregator.c2
-rw-r--r--src/lib/test_taler_exchange_wirewatch.c2
-rw-r--r--src/lib/testing_api_helpers_bank.c8
10 files changed, 16 insertions, 21 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 2631d581e..4426e65a5 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -269,11 +269,6 @@ TALER_TESTING_url_port_free (const char *url);
struct TALER_TESTING_BankConfiguration
{
/**
- * Bank base URL.
- */
- char *bank_url;
-
- /**
* Base URL of the exchange's bank account. Basically
* @e bank_url plus the exchange account.
*
diff --git a/src/lib/test_auditor_api.c b/src/lib/test_auditor_api.c
index f333c6895..0158a368c 100644
--- a/src/lib/test_auditor_api.c
+++ b/src/lib/test_auditor_api.c
@@ -658,7 +658,7 @@ run (void *cls,
TALER_TESTING_run_with_fakebank (is,
commands,
- bc.bank_url);
+ bc.exchange_auth.wire_gateway_url);
}
diff --git a/src/lib/test_bank_api.c b/src/lib/test_bank_api.c
index c6049c019..71a52c6a3 100644
--- a/src/lib/test_bank_api.c
+++ b/src/lib/test_bank_api.c
@@ -111,11 +111,11 @@ run (void *cls,
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Bank serves at `%s'\n",
- bc.bank_url);
+ bc.exchange_auth.wire_gateway_url);
if (GNUNET_YES == with_fakebank)
TALER_TESTING_run_with_fakebank (is,
commands,
- bc.bank_url);
+ bc.exchange_auth.wire_gateway_url);
else
TALER_TESTING_run (is,
commands);
@@ -165,7 +165,8 @@ main (int argc,
}
if (NULL == (bankd = TALER_TESTING_run_bank (CONFIG_FILE_PYBANK,
- bc.bank_url)))
+ bc.exchange_auth.
+ wire_gateway_url)))
{
GNUNET_break (0);
return 77;
diff --git a/src/lib/test_bank_api_twisted.c b/src/lib/test_bank_api_twisted.c
index a1452804d..e0014880f 100644
--- a/src/lib/test_bank_api_twisted.c
+++ b/src/lib/test_bank_api_twisted.c
@@ -101,7 +101,7 @@ run (void *cls,
if (GNUNET_YES == with_fakebank)
TALER_TESTING_run_with_fakebank (is,
commands,
- bc.bank_url);
+ bc.exchange_auth.wire_gateway_url);
else
TALER_TESTING_run (is,
commands);
@@ -187,7 +187,8 @@ main (int argc,
}
if (NULL == (bankd = TALER_TESTING_run_bank (cfgfilename,
- bc.bank_url)))
+ bc.exchange_auth.
+ wire_gateway_url)))
{
GNUNET_break (0);
GNUNET_free (twister_url);
diff --git a/src/lib/test_exchange_api.c b/src/lib/test_exchange_api.c
index b5dd7c892..1351ce8c1 100644
--- a/src/lib/test_exchange_api.c
+++ b/src/lib/test_exchange_api.c
@@ -778,7 +778,7 @@ run (void *cls,
TALER_TESTING_run_with_fakebank (is,
commands,
- bc.bank_url);
+ bc.exchange_auth.wire_gateway_url);
}
}
diff --git a/src/lib/test_exchange_api_revocation.c b/src/lib/test_exchange_api_revocation.c
index 80fede121..1c980cf4a 100644
--- a/src/lib/test_exchange_api_revocation.c
+++ b/src/lib/test_exchange_api_revocation.c
@@ -178,7 +178,7 @@ run (void *cls,
TALER_TESTING_run_with_fakebank (is,
revocation,
- bc.bank_url);
+ bc.exchange_auth.wire_gateway_url);
}
diff --git a/src/lib/test_exchange_api_twisted.c b/src/lib/test_exchange_api_twisted.c
index 072ae17dc..71406bb5d 100644
--- a/src/lib/test_exchange_api_twisted.c
+++ b/src/lib/test_exchange_api_twisted.c
@@ -259,7 +259,7 @@ run (void *cls,
TALER_TESTING_run_with_fakebank (is,
commands,
- bc.bank_url);
+ bc.exchange_auth.wire_gateway_url);
}
diff --git a/src/lib/test_taler_exchange_aggregator.c b/src/lib/test_taler_exchange_aggregator.c
index 25e9a423b..347aeb464 100644
--- a/src/lib/test_taler_exchange_aggregator.c
+++ b/src/lib/test_taler_exchange_aggregator.c
@@ -450,7 +450,7 @@ run (void *cls,
TALER_TESTING_run_with_fakebank (is,
all,
- bc.bank_url);
+ bc.exchange_auth.wire_gateway_url);
}
diff --git a/src/lib/test_taler_exchange_wirewatch.c b/src/lib/test_taler_exchange_wirewatch.c
index 98346b4e6..20aab59ce 100644
--- a/src/lib/test_taler_exchange_wirewatch.c
+++ b/src/lib/test_taler_exchange_wirewatch.c
@@ -109,7 +109,7 @@ run (void *cls,
TALER_TESTING_run_with_fakebank (is,
all,
- bc.bank_url);
+ bc.exchange_auth.wire_gateway_url);
}
diff --git a/src/lib/testing_api_helpers_bank.c b/src/lib/testing_api_helpers_bank.c
index 5fcc50222..c331cdeb9 100644
--- a/src/lib/testing_api_helpers_bank.c
+++ b/src/lib/testing_api_helpers_bank.c
@@ -361,7 +361,6 @@ TALER_TESTING_prepare_bank (const char *config_filename,
return GNUNET_SYSERR;
}
GNUNET_CONFIGURATION_destroy (cfg);
- bc->bank_url = GNUNET_strdup (bc->exchange_auth.wire_gateway_url);
bc->exchange_account_url = GNUNET_strdup (bc->exchange_auth.wire_gateway_url);
bc->exchange_payto = exchange_payto_uri;
bc->user42_payto = "payto://x-taler-bank/localhost/42";
@@ -451,12 +450,11 @@ TALER_TESTING_prepare_fakebank (const char *config_filename,
(unsigned int) fakebank_port);
GNUNET_CONFIGURATION_destroy (cfg);
- bc->bank_url = GNUNET_strdup (bc->exchange_auth.wire_gateway_url);
if (GNUNET_OK !=
- TALER_TESTING_url_port_free (bc->bank_url))
+ TALER_TESTING_url_port_free (bc->exchange_auth.wire_gateway_url))
{
- GNUNET_free (bc->bank_url);
- bc->bank_url = NULL;
+ GNUNET_free (bc->exchange_auth.wire_gateway_url);
+ bc->exchange_auth.wire_gateway_url = NULL;
return GNUNET_SYSERR;
}
/* FIXME: this duplicates bc->exchange_auth.wire_gateway_url */