diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/withdraw.test.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/withdraw.test.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/taler-wallet-core/src/operations/withdraw.test.ts b/packages/taler-wallet-core/src/operations/withdraw.test.ts index cb8aa5e81..97a80ec26 100644 --- a/packages/taler-wallet-core/src/operations/withdraw.test.ts +++ b/packages/taler-wallet-core/src/operations/withdraw.test.ts @@ -14,7 +14,7 @@ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> */ -import { Amounts, DenomKeyType } from "@gnu-taler/taler-util"; +import { AmountString, Amounts, DenomKeyType } from "@gnu-taler/taler-util"; import test from "ava"; import { DenominationRecord, @@ -82,7 +82,7 @@ test("withdrawal selection bug repro", (t) => { }), verificationStatus: DenominationVerificationStatus.Unverified, currency: "KUDOS", - value: "KUDOS:1000", + value: "KUDOS:1000" as AmountString, listIssueDate: timestampProtocolToDb({ t_s: 0 }), }, { @@ -136,7 +136,7 @@ test("withdrawal selection bug repro", (t) => { t_s: 1585229388, }), verificationStatus: DenominationVerificationStatus.Unverified, - value: "KUDOS:10", + value: "KUDOS:10" as AmountString, currency: "KUDOS", listIssueDate: timestampProtocolToDb({ t_s: 0 }), }, @@ -190,7 +190,7 @@ test("withdrawal selection bug repro", (t) => { t_s: 1585229388, }), verificationStatus: DenominationVerificationStatus.Unverified, - value: "KUDOS:5", + value: "KUDOS:5" as AmountString, currency: "KUDOS", listIssueDate: timestampProtocolToDb({ t_s: 0 }), }, @@ -245,7 +245,7 @@ test("withdrawal selection bug repro", (t) => { t_s: 1585229388, }), verificationStatus: DenominationVerificationStatus.Unverified, - value: "KUDOS:1", + value: "KUDOS:1" as AmountString, currency: "KUDOS", listIssueDate: timestampProtocolToDb({ t_s: 0 }), }, @@ -357,7 +357,7 @@ test("withdrawal selection bug repro", (t) => { t_s: 1585229388, }), verificationStatus: DenominationVerificationStatus.Unverified, - value: "KUDOS:2", + value: "KUDOS:2" as AmountString, currency: "KUDOS", listIssueDate: timestampProtocolToDb({ t_s: 0 }), }, |