diff options
author | Sebastian <sebasjm@gmail.com> | 2023-10-22 14:47:50 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-10-22 14:47:50 -0300 |
commit | 5e160a2d4d1d77c87600f28f806bc94c086267c7 (patch) | |
tree | ec8475a39d7aa4565b490e259d787b195fb98bb3 /packages/taler-wallet-core/src/operations/withdraw.test.ts | |
parent | 2005273d1286819e68d3ea7a3290f8c357be5e40 (diff) | |
download | wallet-core-5e160a2d4d1d77c87600f28f806bc94c086267c7.tar.xz |
update the amountString definitionv0.9.3-dev.34
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 }), }, |