diff options
Diffstat (limited to 'packages/taler-util/src/transaction-test-data.ts')
-rw-r--r-- | packages/taler-util/src/transaction-test-data.ts | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/packages/taler-util/src/transaction-test-data.ts b/packages/taler-util/src/transaction-test-data.ts index d0c609147..dc0903f53 100644 --- a/packages/taler-util/src/transaction-test-data.ts +++ b/packages/taler-util/src/transaction-test-data.ts @@ -16,10 +16,9 @@ import { TransactionType, - TransactionState, - TransactionSubstate, PaymentStatus, ExtendedStatus, + TransactionMajorState, } from "./transactions-types.js"; import { RefreshReason } from "./wallet-types.js"; @@ -29,8 +28,9 @@ import { RefreshReason } from "./wallet-types.js"; export const sampleWalletCoreTransactions = [ { type: TransactionType.Payment, - txState: TransactionState.Done, - txSubstate: TransactionSubstate.None, + txState: { + major: TransactionMajorState.Done, + }, amountRaw: "KUDOS:10", amountEffective: "KUDOS:10", totalRefundRaw: "KUDOS:0", @@ -75,8 +75,9 @@ export const sampleWalletCoreTransactions = [ }, { type: TransactionType.Refresh, - txState: TransactionState.Pending, - txSubstate: TransactionSubstate.None, + txState: { + major: TransactionMajorState.Pending, + }, refreshReason: RefreshReason.PayMerchant, amountEffective: "KUDOS:0", amountRaw: "KUDOS:0", |