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-tipping.ts | |
parent | f475f98f86d03e808d2c88c13eafa712c2013fe3 (diff) |
wallet-core: remove legacy non-DD37 tx status fields
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-tipping.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-tipping.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-tipping.ts b/packages/taler-harness/src/integrationtests/test-tipping.ts index bbf729420..ff6fc9ceb 100644 --- a/packages/taler-harness/src/integrationtests/test-tipping.ts +++ b/packages/taler-harness/src/integrationtests/test-tipping.ts @@ -29,6 +29,7 @@ import { getWireMethodForTest, } from "../harness/harness.js"; import { createSimpleTestkudosEnvironment } from "../harness/helpers.js"; +import { TransactionMajorState } from "@gnu-taler/taler-util"; /** * Run test for basic, bank-integrated withdrawal. @@ -127,7 +128,7 @@ export async function runTippingTest(t: GlobalTestState) { console.log("Transactions:", JSON.stringify(txns, undefined, 2)); t.assertDeepEqual(txns.transactions[0].type, "tip"); - t.assertDeepEqual(txns.transactions[0].pending, false); + t.assertDeepEqual(txns.transactions[0].txState.major, TransactionMajorState.Done); t.assertAmountEquals( txns.transactions[0].amountEffective, "TESTKUDOS:4.85", |