summaryrefslogtreecommitdiff
path: root/packages/taler-integrationtests/src/test-bank-api.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-integrationtests/src/test-bank-api.ts')
-rw-r--r--packages/taler-integrationtests/src/test-bank-api.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-integrationtests/src/test-bank-api.ts b/packages/taler-integrationtests/src/test-bank-api.ts
index 1088ff6e..56f43985 100644
--- a/packages/taler-integrationtests/src/test-bank-api.ts
+++ b/packages/taler-integrationtests/src/test-bank-api.ts
@@ -118,7 +118,7 @@ runTest(async (t: GlobalTestState) => {
console.log(bal);
// Check that we got the sign-up bonus.
- t.assertAmountEquals(bal.balance_amount, "TESTKUDOS:100");
+ t.assertAmountEquals(bal.amount, "TESTKUDOS:100");
t.assertTrue(bal.credit_debit_indicator === CreditDebitIndicator.Credit);
const res = createEddsaKeyPair();
@@ -131,6 +131,6 @@ runTest(async (t: GlobalTestState) => {
});
bal = await BankAccessApi.getAccountBalance(bank, bankUser);
- t.assertAmountEquals(bal.balance_amount, "TESTKUDOS:15");
+ t.assertAmountEquals(bal.amount, "TESTKUDOS:15");
t.assertTrue(bal.credit_debit_indicator === CreditDebitIndicator.Debit);
});