summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-06-01 16:03:03 +0200
committerMS <ms@taler.net>2020-06-01 16:03:03 +0200
commit549f8a7c7be4878b06bdc44682f220c7261c3d20 (patch)
treee3b3dfec97cb07fc28b0650e2039e860dff46799
parent857fe0ab9483856c48f10c45c69dcf078afdc28b (diff)
downloadexchange-549f8a7c7be4878b06bdc44682f220c7261c3d20.tar.gz
exchange-549f8a7c7be4878b06bdc44682f220c7261c3d20.tar.bz2
exchange-549f8a7c7be4878b06bdc44682f220c7261c3d20.zip
nexus preparation
-rwxr-xr-xcontrib/taler-nexus-prepare5
-rw-r--r--src/testing/test_bank_api.c8
2 files changed, 6 insertions, 7 deletions
diff --git a/contrib/taler-nexus-prepare b/contrib/taler-nexus-prepare
index 112891f39..99bcffb4f 100755
--- a/contrib/taler-nexus-prepare
+++ b/contrib/taler-nexus-prepare
@@ -31,7 +31,10 @@ assertResponse(
source="new",
type="loopback",
data=dict(
- bankAccount="my-bank-account"
+ account="my-bank-account",
+ iban="x",
+ bic="x",
+ holder="x",
)
),
headers=dict(Authorization=USER_AUTHORIZATION_HEADER),
diff --git a/src/testing/test_bank_api.c b/src/testing/test_bank_api.c
index 2a709fb1c..c4055c516 100644
--- a/src/testing/test_bank_api.c
+++ b/src/testing/test_bank_api.c
@@ -192,7 +192,7 @@ main (int argc,
} else if (GNUNET_YES == TALER_TESTING_has_in_name (argv[0],
"_with_nexus"))
{
- TALER_LOG_DEBUG ("Running against Nexus.\n");
+ TALER_LOG_DEBUG ("Running with Nexus.\n");
cfgfile = CONFIG_FILE_FAKEBANK;
if (GNUNET_OK != TALER_TESTING_prepare_nexus (CONFIG_FILE_NEXUS,
GNUNET_YES,
@@ -207,14 +207,10 @@ main (int argc,
GNUNET_break (0);
return 77;
}
- GNUNET_OS_process_kill (bankd,
- SIGKILL);
- GNUNET_OS_process_wait (bankd);
- GNUNET_OS_process_destroy (bankd);
- return 0;
}
else
{
+ /* no bank service was ever invoked. */
GNUNET_break (0);
return 77;
}