diff options
author | Florian Dold <florian@dold.me> | 2023-01-18 19:30:48 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-01-18 19:33:01 +0100 |
commit | 598de5b0d576987ea317b22fd6d33cbe4a1a19ac (patch) | |
tree | fe5923b5a8f77a198927e41fb2fe2201294c5b43 /packages/taler-harness/src | |
parent | 5e129abe9e8d71c2fa67bc542684f49b76551379 (diff) | |
download | wallet-core-598de5b0d576987ea317b22fd6d33cbe4a1a19ac.tar.xz |
wallet-core: Add 'deposited' field to deposit transaction
This field indicates whether the POST requests to deposit coins went
through with the exchange.
We also don't consider a deposit transaction as having lifeness when it
is already deposited and we're just querying for informational deposit
tracking information.
Diffstat (limited to 'packages/taler-harness/src')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-deposit.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-deposit.ts b/packages/taler-harness/src/integrationtests/test-deposit.ts index 07382c43e..e4ca08789 100644 --- a/packages/taler-harness/src/integrationtests/test-deposit.ts +++ b/packages/taler-harness/src/integrationtests/test-deposit.ts @@ -54,11 +54,10 @@ export async function runDepositTest(t: GlobalTestState) { WalletApiOperation.GetTransactions, {}, ); + 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"); |