diff options
author | Florian Dold <florian@dold.me> | 2021-08-07 17:59:06 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-08-07 17:59:06 +0200 |
commit | c077c0d8c08fb83fb6f4ba860a9d600cc22131c3 (patch) | |
tree | 89cebd2c3962f843842a88019543416bbc96c793 /packages/taler-wallet-cli/src/integrationtests/test-deposit.ts | |
parent | 15eea5da9f260d9a4b72ad2314fef166737f146c (diff) | |
download | wallet-core-c077c0d8c08fb83fb6f4ba860a9d600cc22131c3.tar.xz |
consider deposit operations for pending operations
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests/test-deposit.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/test-deposit.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-deposit.ts b/packages/taler-wallet-cli/src/integrationtests/test-deposit.ts index 585ca9996..156661e46 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-deposit.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-deposit.ts @@ -56,7 +56,9 @@ export async function runDepositTest(t: GlobalTestState) { ); console.log("transactions", JSON.stringify(transactions, undefined, 2)); t.assertDeepEqual(transactions.transactions[0].type, "withdrawal"); + t.assertTrue(!transactions.transactions[0].pending); t.assertDeepEqual(transactions.transactions[1].type, "deposit"); + t.assertTrue(!transactions.transactions[1].pending); // The raw amount is what ends up on the bank account, which includes // deposit and wire fees. t.assertDeepEqual(transactions.transactions[1].amountRaw, "TESTKUDOS:9.79"); |