adapt integration tests to new exchange configuration

This commit is contained in:
Florian Dold 2021-08-04 12:49:46 +02:00
parent a8e5b95682
commit ec0ebb09e2
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -968,22 +968,27 @@ export class ExchangeService implements ExchangeServiceInterface {
config.setString(`exchange-account-${localName}`, "enable_credit", "yes");
config.setString(`exchange-account-${localName}`, "enable_debit", "yes");
config.setString(
`exchange-account-${localName}`,
`exchange-accountcredentials-${localName}`,
"payto_uri",
exchangeBankAccount.accountPaytoUri,
);
config.setString(
`exchange-accountcredentials-${localName}`,
"wire_gateway_url",
exchangeBankAccount.wireGatewayApiBaseUrl,
);
config.setString(
`exchange-account-${localName}`,
`exchange-accountcredentials-${localName}`,
"wire_gateway_auth_method",
"basic",
);
config.setString(
`exchange-account-${localName}`,
`exchange-accountcredentials-${localName}`,
"username",
exchangeBankAccount.accountName,
);
config.setString(
`exchange-account-${localName}`,
`exchange-accountcredentials-${localName}`,
"password",
exchangeBankAccount.accountPassword,
);