diff options
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-exchange-purse.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-exchange-purse.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-exchange-purse.ts b/packages/taler-harness/src/integrationtests/test-exchange-purse.ts index 33a09ed16..c3815e1de 100644 --- a/packages/taler-harness/src/integrationtests/test-exchange-purse.ts +++ b/packages/taler-harness/src/integrationtests/test-exchange-purse.ts @@ -19,6 +19,7 @@ */ import { AbsoluteTime, + AmountString, ContractTermsUtil, decodeCrock, Duration, @@ -76,7 +77,7 @@ export async function runExchangePurseTest(t: GlobalTestState) { }); await topupReserveWithDemobank({ - amount: "TESTKUDOS:10", + amount: "TESTKUDOS:10" as AmountString, http, reservePub: reserveKeyPair.pub, corebankApiBaseUrl: bank.corebankApiBaseUrl, @@ -91,7 +92,7 @@ export async function runExchangePurseTest(t: GlobalTestState) { await checkReserve(http, exchange.baseUrl, reserveKeyPair.pub); - const d1 = findDenomOrThrow(exchangeInfo, "TESTKUDOS:8", { + const d1 = findDenomOrThrow(exchangeInfo, "TESTKUDOS:8" as AmountString, { denomselAllowLate: Wallet.defaultConfig.testing.denomselAllowLate, }); @@ -106,7 +107,7 @@ export async function runExchangePurseTest(t: GlobalTestState) { exchangeBaseUrl: exchange.baseUrl, }); - const amount = "TESTKUDOS:5"; + const amount = "TESTKUDOS:5" as AmountString; const purseFee = "TESTKUDOS:0"; const mergeTimestamp = TalerPreciseTimestamp.now(); |