diff options
author | Florian Dold <florian@dold.me> | 2023-05-24 14:46:03 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-05-24 14:46:03 +0200 |
commit | a2ef2e391a8f030857d0f9cd56c6157cffb33659 (patch) | |
tree | 7da5030d2695b4c6ba24b007198726bea6016b13 /packages/taler-harness/src/integrationtests/test-timetravel-withdraw.ts | |
parent | f475f98f86d03e808d2c88c13eafa712c2013fe3 (diff) | |
download | wallet-core-a2ef2e391a8f030857d0f9cd56c6157cffb33659.tar.xz |
wallet-core: remove legacy non-DD37 tx status fields
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-timetravel-withdraw.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-timetravel-withdraw.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-timetravel-withdraw.ts b/packages/taler-harness/src/integrationtests/test-timetravel-withdraw.ts index 9335af9f5..ca3e67647 100644 --- a/packages/taler-harness/src/integrationtests/test-timetravel-withdraw.ts +++ b/packages/taler-harness/src/integrationtests/test-timetravel-withdraw.ts @@ -17,7 +17,7 @@ /** * Imports. */ -import { Duration, TransactionType } from "@gnu-taler/taler-util"; +import { Duration, TransactionMajorState, TransactionType } from "@gnu-taler/taler-util"; import { WalletApiOperation } from "@gnu-taler/taler-wallet-core"; import { GlobalTestState } from "../harness/harness.js"; import { @@ -83,7 +83,7 @@ export async function runTimetravelWithdrawTest(t: GlobalTestState) { t.assertDeepEqual(types, ["withdrawal", "withdrawal"]); const wtrans = transactions.transactions[1]; t.assertTrue(wtrans.type === TransactionType.Withdrawal); - t.assertTrue(wtrans.pending); + t.assertTrue(wtrans.txState.major === TransactionMajorState.Pending); } // Now we also let the wallet time travel |