diff options
Diffstat (limited to 'packages/taler-harness/src')
-rw-r--r-- | packages/taler-harness/src/harness/harness.ts | 2 | ||||
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-bank-api.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-harness/src/harness/harness.ts b/packages/taler-harness/src/harness/harness.ts index c08f3fa1d..0c05ddb2e 100644 --- a/packages/taler-harness/src/harness/harness.ts +++ b/packages/taler-harness/src/harness/harness.ts @@ -931,7 +931,7 @@ export class FakebankService ); await this.pingUntilAvailable(); for (const acc of this.accounts) { - await BankApi.registerAccount(this, acc.accountName, acc.accountPassword); + await BankApi.registerAccount(this, acc.accountName, acc.accountPassword, {}); } } diff --git a/packages/taler-harness/src/integrationtests/test-bank-api.ts b/packages/taler-harness/src/integrationtests/test-bank-api.ts index 5e3448625..a0e1c2085 100644 --- a/packages/taler-harness/src/integrationtests/test-bank-api.ts +++ b/packages/taler-harness/src/integrationtests/test-bank-api.ts @@ -100,12 +100,12 @@ export async function runBankApiTest(t: GlobalTestState) { console.log("setup done!"); - const bankUser = await BankApi.registerAccount(bank, "user1", "pw1"); + const bankUser = await BankApi.registerAccount(bank, "user1", "pw1", {}); // Make sure that registering twice results in a 409 Conflict { const e = await t.assertThrowsTalerErrorAsync(async () => { - await BankApi.registerAccount(bank, "user1", "pw2"); + await BankApi.registerAccount(bank, "user1", "pw2", {}); }); t.assertTrue(e.errorDetail.httpStatusCode === 409); } |