[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: bank twister test case
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: bank twister test case |
Date: |
Fri, 17 Jan 2020 18:22:31 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 0463f19e bank twister test case
0463f19e is described below
commit 0463f19ece0de69f96d8e5514a45cb9518b3f0b0
Author: Florian Dold <address@hidden>
AuthorDate: Fri Jan 17 18:22:26 2020 +0100
bank twister test case
---
src/lib/test_bank_api_twisted.c | 18 +++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)
diff --git a/src/lib/test_bank_api_twisted.c b/src/lib/test_bank_api_twisted.c
index 3e52880e..d7c590db 100644
--- a/src/lib/test_bank_api_twisted.c
+++ b/src/lib/test_bank_api_twisted.c
@@ -61,12 +61,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.
*/
@@ -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);
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: bank twister test case,
gnunet <=