taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 06cabfb01f8a70f2480485e51b2a79d178af9c3a
parent 651db75296bfe7c35dc7d29e39f25e6dacb72930
Author: Florian Dold <florian@dold.me>
Date:   Tue,  2 Apr 2024 18:39:43 +0200

harness: fix test

Diffstat:
Mpackages/taler-harness/src/integrationtests/test-denom-unoffered.ts | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/packages/taler-harness/src/integrationtests/test-denom-unoffered.ts b/packages/taler-harness/src/integrationtests/test-denom-unoffered.ts @@ -150,10 +150,14 @@ export async function runDenomUnofferedTest(t: GlobalTestState) { const txs = await walletClient.call(WalletApiOperation.GetTransactions, { sort: "stable-ascending", + includeRefreshes: true, }); console.log(JSON.stringify(txs, undefined, 2)); + t.assertDeepEqual(txs.transactions[0].type, TransactionType.Withdrawal); + t.assertDeepEqual(txs.transactions[1].type, TransactionType.Refresh); t.assertDeepEqual(txs.transactions[2].type, TransactionType.DenomLoss); + t.assertDeepEqual(txs.transactions[3].type, TransactionType.Withdrawal); } runDenomUnofferedTest.suites = ["wallet"];