summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-04-02 18:39:43 +0200
committerFlorian Dold <florian@dold.me>2024-04-02 18:40:41 +0200
commit06cabfb01f8a70f2480485e51b2a79d178af9c3a (patch)
tree192070eea7a0fd4a726276e21c0c30960c714377
parent651db75296bfe7c35dc7d29e39f25e6dacb72930 (diff)
downloadwallet-core-06cabfb01f8a70f2480485e51b2a79d178af9c3a.tar.gz
wallet-core-06cabfb01f8a70f2480485e51b2a79d178af9c3a.tar.bz2
wallet-core-06cabfb01f8a70f2480485e51b2a79d178af9c3a.zip
harness: fix test
-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"];