aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-payment-zero.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-05-24 14:46:03 +0200
committerFlorian Dold <florian@dold.me>2023-05-24 14:46:03 +0200
commita2ef2e391a8f030857d0f9cd56c6157cffb33659 (patch)
tree7da5030d2695b4c6ba24b007198726bea6016b13 /packages/taler-harness/src/integrationtests/test-payment-zero.ts
parentf475f98f86d03e808d2c88c13eafa712c2013fe3 (diff)
downloadwallet-core-a2ef2e391a8f030857d0f9cd56c6157cffb33659.tar.xz
wallet-core: remove legacy non-DD37 tx status fields
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-payment-zero.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-payment-zero.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-payment-zero.ts b/packages/taler-harness/src/integrationtests/test-payment-zero.ts
index 6c28da30c..264cffd06 100644
--- a/packages/taler-harness/src/integrationtests/test-payment-zero.ts
+++ b/packages/taler-harness/src/integrationtests/test-payment-zero.ts
@@ -24,6 +24,7 @@ import {
withdrawViaBank,
makeTestPayment,
} from "../harness/helpers.js";
+import { TransactionMajorState } from "@gnu-taler/taler-util";
/**
* Run test for a payment for a "free" order with
@@ -61,7 +62,7 @@ export async function runPaymentZeroTest(t: GlobalTestState) {
);
for (const tr of transactions.transactions) {
- t.assertDeepEqual(tr.pending, false);
+ t.assertDeepEqual(tr.txState.major, TransactionMajorState.Done);
}
}