aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/taler-integrationtests/src/harness.ts2
-rw-r--r--packages/taler-integrationtests/src/test-bank-api.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-integrationtests/src/harness.ts b/packages/taler-integrationtests/src/harness.ts
index 0beed3976..b46525267 100644
--- a/packages/taler-integrationtests/src/harness.ts
+++ b/packages/taler-integrationtests/src/harness.ts
@@ -562,7 +562,7 @@ export enum CreditDebitIndicator {
}
export interface BankAccountBalanceResponse {
- balance_amount: AmountString;
+ amount: AmountString;
credit_debit_indicator: CreditDebitIndicator;
}
diff --git a/packages/taler-integrationtests/src/test-bank-api.ts b/packages/taler-integrationtests/src/test-bank-api.ts
index 1088ff6e6..56f43985e 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);
});