diff options
author | Florian Dold <florian@dold.me> | 2023-08-23 14:40:23 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-08-23 14:40:23 +0200 |
commit | 9be4034cc0d3cafff16917e7382f9c196ad75477 (patch) | |
tree | e46e330592be049255f55a95fe99922e003cbd6c /packages/taler-harness/src/integrationtests/test-simple-payment.ts | |
parent | 2051aded501cddac1a4c869fb1f9731ac4523a1e (diff) | |
download | wallet-core-9be4034cc0d3cafff16917e7382f9c196ad75477.tar.xz |
harness: shared test environment WIP
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-simple-payment.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-simple-payment.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-simple-payment.ts b/packages/taler-harness/src/integrationtests/test-simple-payment.ts index 82fa5f21d..58ab61435 100644 --- a/packages/taler-harness/src/integrationtests/test-simple-payment.ts +++ b/packages/taler-harness/src/integrationtests/test-simple-payment.ts @@ -1,6 +1,6 @@ /* This file is part of GNU Taler - (C) 2020 Taler Systems S.A. + (C) 2023 Taler Systems S.A. GNU Taler is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -20,11 +20,10 @@ import { WalletApiOperation } from "@gnu-taler/taler-wallet-core"; import { GlobalTestState } from "../harness/harness.js"; import { - createSimpleTestkudosEnvironmentV2, withdrawViaBankV2, makeTestPaymentV2, + useSharedTestkudosEnvironment, } from "../harness/helpers.js"; -import { j2s } from "@gnu-taler/taler-util"; /** * Run test for basic, bank-integrated withdrawal and payment. @@ -33,7 +32,7 @@ export async function runSimplePaymentTest(t: GlobalTestState) { // Set up test environment const { walletClient, bank, exchange, merchant } = - await createSimpleTestkudosEnvironmentV2(t); + await useSharedTestkudosEnvironment(t); // Withdraw digital cash into the wallet. |