summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/taler-harness/src/integrationtests/test-denom-unoffered.ts4
1 files 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
index 677739627..6a82d586c 100644
--- 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"];