diff options
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-wallet-dbless.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-wallet-dbless.ts | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-wallet-dbless.ts b/packages/taler-harness/src/integrationtests/test-wallet-dbless.ts index 5e6539654..32534f2c8 100644 --- a/packages/taler-harness/src/integrationtests/test-wallet-dbless.ts +++ b/packages/taler-harness/src/integrationtests/test-wallet-dbless.ts @@ -18,6 +18,7 @@ * Imports. */ import { + AmountString, encodeCrock, getRandomBytes, j2s, @@ -69,7 +70,7 @@ export async function runWalletDblessTest(t: GlobalTestState) { }); await topupReserveWithDemobank({ - amount: "TESTKUDOS:10", + amount: "TESTKUDOS:10" as AmountString, http, reservePub: reserveKeyPair.pub, corebankApiBaseUrl: bank.corebankApiBaseUrl, @@ -84,7 +85,7 @@ export async function runWalletDblessTest(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, }); @@ -107,7 +108,7 @@ export async function runWalletDblessTest(t: GlobalTestState) { contractTermsHash, merchantPub, wireSalt, - amount: "TESTKUDOS:4", + amount: "TESTKUDOS:4" as AmountString, coin: coin, cryptoApi, exchangeBaseUrl: exchange.baseUrl, @@ -119,7 +120,7 @@ export async function runWalletDblessTest(t: GlobalTestState) { contractTermsHash, merchantPub, wireSalt, - amount: "TESTKUDOS:4", + amount: "TESTKUDOS:4" as AmountString, coin: coin, cryptoApi, exchangeBaseUrl: exchange.baseUrl, @@ -127,10 +128,10 @@ export async function runWalletDblessTest(t: GlobalTestState) { }); const refreshDenoms = [ - findDenomOrThrow(exchangeInfo, "TESTKUDOS:1", { + findDenomOrThrow(exchangeInfo, "TESTKUDOS:1" as AmountString, { denomselAllowLate: Wallet.defaultConfig.testing.denomselAllowLate, }), - findDenomOrThrow(exchangeInfo, "TESTKUDOS:1", { + findDenomOrThrow(exchangeInfo, "TESTKUDOS:1" as AmountString, { denomselAllowLate: Wallet.defaultConfig.testing.denomselAllowLate, }), ]; |