From 194eeea6aaf4ab401825aa07073b3e0a4f9d3c1b Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 19 Feb 2024 20:07:37 +0100 Subject: restructure --- .../src/integrationtests/test-exchange-deposit.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'packages/taler-harness/src/integrationtests/test-exchange-deposit.ts') diff --git a/packages/taler-harness/src/integrationtests/test-exchange-deposit.ts b/packages/taler-harness/src/integrationtests/test-exchange-deposit.ts index 8e1726aba..ca8b9e375 100644 --- a/packages/taler-harness/src/integrationtests/test-exchange-deposit.ts +++ b/packages/taler-harness/src/integrationtests/test-exchange-deposit.ts @@ -26,20 +26,20 @@ import { } from "@gnu-taler/taler-util"; import { createPlatformHttpLib } from "@gnu-taler/taler-util/http"; import { - checkReserve, CryptoDispatcher, + SynchronousCryptoWorkerFactoryPlain, + Wallet, +} from "@gnu-taler/taler-wallet-core"; +import { + checkReserve, depositCoin, downloadExchangeInfo, findDenomOrThrow, - SynchronousCryptoWorkerFactoryPlain, topupReserveWithDemobank, - Wallet, withdrawCoin, -} from "@gnu-taler/taler-wallet-core"; +} from "@gnu-taler/taler-wallet-core/dbless"; import { GlobalTestState } from "../harness/harness.js"; -import { - createSimpleTestkudosEnvironmentV2, -} from "../harness/helpers.js"; +import { createSimpleTestkudosEnvironmentV2 } from "../harness/helpers.js"; /** * Run test for basic, bank-integrated withdrawal and payment. -- cgit v1.2.3 From 277a5c641df336d8b5b2d9bd6559e45f0b02aa79 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 29 Feb 2024 18:37:13 +0100 Subject: wallet-core: improve config handling, test builtin exchange config --- .../taler-harness/src/integrationtests/test-exchange-deposit.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'packages/taler-harness/src/integrationtests/test-exchange-deposit.ts') diff --git a/packages/taler-harness/src/integrationtests/test-exchange-deposit.ts b/packages/taler-harness/src/integrationtests/test-exchange-deposit.ts index ca8b9e375..05e6e153b 100644 --- a/packages/taler-harness/src/integrationtests/test-exchange-deposit.ts +++ b/packages/taler-harness/src/integrationtests/test-exchange-deposit.ts @@ -28,7 +28,6 @@ import { createPlatformHttpLib } from "@gnu-taler/taler-util/http"; import { CryptoDispatcher, SynchronousCryptoWorkerFactoryPlain, - Wallet, } from "@gnu-taler/taler-wallet-core"; import { checkReserve, @@ -76,9 +75,11 @@ export async function runExchangeDepositTest(t: GlobalTestState) { await checkReserve(http, exchange.baseUrl, reserveKeyPair.pub); - const d1 = findDenomOrThrow(exchangeInfo, "TESTKUDOS:8" as AmountString, { - denomselAllowLate: Wallet.defaultConfig.testing.denomselAllowLate, - }); + const d1 = findDenomOrThrow( + exchangeInfo, + "TESTKUDOS:8" as AmountString, + {}, + ); const coin = await withdrawCoin({ http, -- cgit v1.2.3 From 516bda58bb53738fa4d2ae0b10a25e53c138180b Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 11 Apr 2024 18:13:35 -0300 Subject: rename comments from demobank to bank --- packages/taler-harness/src/integrationtests/test-exchange-deposit.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/taler-harness/src/integrationtests/test-exchange-deposit.ts') diff --git a/packages/taler-harness/src/integrationtests/test-exchange-deposit.ts b/packages/taler-harness/src/integrationtests/test-exchange-deposit.ts index 05e6e153b..47a17a1f2 100644 --- a/packages/taler-harness/src/integrationtests/test-exchange-deposit.ts +++ b/packages/taler-harness/src/integrationtests/test-exchange-deposit.ts @@ -34,7 +34,7 @@ import { depositCoin, downloadExchangeInfo, findDenomOrThrow, - topupReserveWithDemobank, + topupReserveWithBank, withdrawCoin, } from "@gnu-taler/taler-wallet-core/dbless"; import { GlobalTestState } from "../harness/harness.js"; @@ -63,7 +63,7 @@ export async function runExchangeDepositTest(t: GlobalTestState) { const reserveKeyPair = await cryptoApi.createEddsaKeypair({}); - await topupReserveWithDemobank({ + await topupReserveWithBank({ http, amount: "TESTKUDOS:10" as AmountString, corebankApiBaseUrl: bank.corebankApiBaseUrl, -- cgit v1.2.3