nexus preparation

This commit is contained in:
MS 2020-06-01 16:03:03 +02:00
parent 857fe0ab94
commit 549f8a7c7b
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
2 changed files with 6 additions and 7 deletions

View File

@ -31,7 +31,10 @@ assertResponse(
source="new", source="new",
type="loopback", type="loopback",
data=dict( data=dict(
bankAccount="my-bank-account" account="my-bank-account",
iban="x",
bic="x",
holder="x",
) )
), ),
headers=dict(Authorization=USER_AUTHORIZATION_HEADER), headers=dict(Authorization=USER_AUTHORIZATION_HEADER),

View File

@ -192,7 +192,7 @@ main (int argc,
} else if (GNUNET_YES == TALER_TESTING_has_in_name (argv[0], } else if (GNUNET_YES == TALER_TESTING_has_in_name (argv[0],
"_with_nexus")) "_with_nexus"))
{ {
TALER_LOG_DEBUG ("Running against Nexus.\n"); TALER_LOG_DEBUG ("Running with Nexus.\n");
cfgfile = CONFIG_FILE_FAKEBANK; cfgfile = CONFIG_FILE_FAKEBANK;
if (GNUNET_OK != TALER_TESTING_prepare_nexus (CONFIG_FILE_NEXUS, if (GNUNET_OK != TALER_TESTING_prepare_nexus (CONFIG_FILE_NEXUS,
GNUNET_YES, GNUNET_YES,
@ -207,14 +207,10 @@ main (int argc,
GNUNET_break (0); GNUNET_break (0);
return 77; return 77;
} }
GNUNET_OS_process_kill (bankd,
SIGKILL);
GNUNET_OS_process_wait (bankd);
GNUNET_OS_process_destroy (bankd);
return 0;
} }
else else
{ {
/* no bank service was ever invoked. */
GNUNET_break (0); GNUNET_break (0);
return 77; return 77;
} }