aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-withdrawal-bank-integrated.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-09-24 21:03:22 +0200
committerFlorian Dold <florian@dold.me>2023-09-24 21:03:22 +0200
commit7b93938e710c8673ae9a0381b8867705ae872d6f (patch)
tree8aca0b1e5208497dc20e73355a192e9ad22b0baf /packages/taler-harness/src/integrationtests/test-withdrawal-bank-integrated.ts
parentbdd906c88707b2ec8d6d1d4afbd0bba8e3a9a3cd (diff)
harness: add libeufin-bank integration test
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-withdrawal-bank-integrated.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-withdrawal-bank-integrated.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-withdrawal-bank-integrated.ts b/packages/taler-harness/src/integrationtests/test-withdrawal-bank-integrated.ts
index 8c8853f4a..817da5865 100644
--- a/packages/taler-harness/src/integrationtests/test-withdrawal-bank-integrated.ts
+++ b/packages/taler-harness/src/integrationtests/test-withdrawal-bank-integrated.ts
@@ -41,12 +41,12 @@ export async function runWithdrawalBankIntegratedTest(t: GlobalTestState) {
// Create a withdrawal operation
- const bankAccessApiClient = new TalerCorebankApiClient(
+ const corebankApiClient = new TalerCorebankApiClient(
bank.bankAccessApiBaseUrl,
);
- const user = await bankAccessApiClient.createRandomBankUser();
- bankAccessApiClient.setAuth(user);
- const wop = await bankAccessApiClient.createWithdrawalOperation(
+ const user = await corebankApiClient.createRandomBankUser();
+ corebankApiClient.setAuth(user);
+ const wop = await corebankApiClient.createWithdrawalOperation(
user.username,
"TESTKUDOS:10",
);
@@ -129,7 +129,7 @@ export async function runWithdrawalBankIntegratedTest(t: GlobalTestState) {
// Confirm it
- await bankAccessApiClient.confirmWithdrawalOperation(user.username, {
+ await corebankApiClient.confirmWithdrawalOperation(user.username, {
withdrawalOperationId: wop.withdrawal_id,
});