diff options
author | Florian Dold <florian@dold.me> | 2024-06-30 22:13:17 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-06-30 22:13:17 +0200 |
commit | 2ce1c06dbbbc865ba59e9e28bae7c5226b82577b (patch) | |
tree | 227f9086b3fc6aef068ff31889f971596e4b56e5 /packages/taler-harness/src/integrationtests | |
parent | aff3c5c19d1c08f96037faa80446a27c641e0219 (diff) | |
download | wallet-core-2ce1c06dbbbc865ba59e9e28bae7c5226b82577b.tar.xz |
wallet-core: fix test
Diffstat (limited to 'packages/taler-harness/src/integrationtests')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-wallettesting.ts | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-wallettesting.ts b/packages/taler-harness/src/integrationtests/test-wallettesting.ts index ef9bb9073..73585e206 100644 --- a/packages/taler-harness/src/integrationtests/test-wallettesting.ts +++ b/packages/taler-harness/src/integrationtests/test-wallettesting.ts @@ -25,10 +25,7 @@ import { AmountString, Amounts, CoinStatus } from "@gnu-taler/taler-util"; import { WalletApiOperation } from "@gnu-taler/taler-wallet-core"; import { CoinConfig, defaultCoinConfig } from "../harness/denomStructures.js"; -import { - GlobalTestState, - setupDb, -} from "../harness/harness.js"; +import { GlobalTestState, setupDb } from "../harness/harness.js"; import { SimpleTestEnvironmentNg3, createSimpleTestkudosEnvironmentV3, @@ -47,10 +44,9 @@ export async function createMyEnvironment( ): Promise<SimpleTestEnvironmentNg3> { const db = await setupDb(t); - const {bankClient, exchange, merchant, exchangeBankAccount} = + const { bankClient, exchange, merchant, exchangeBankAccount } = await createSimpleTestkudosEnvironmentV3(t, coinConfig, {}); - console.log("setup done!"); const { walletClient, walletService } = await createWalletDaemonWithClient( @@ -187,8 +183,6 @@ export async function runWallettestingTest(t: GlobalTestState) { await walletClient.call(WalletApiOperation.ClearDb, {}); await walletClient.call(WalletApiOperation.RunIntegrationTestV2, { - amountToSpend: "TESTKUDOS:5" as AmountString, - amountToWithdraw: "TESTKUDOS:10" as AmountString, corebankApiBaseUrl: bankClient.baseUrl, exchangeBaseUrl: exchange.baseUrl, merchantAuthToken: merchantAuthToken, |