diff options
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-payment.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-payment.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-payment.ts b/packages/taler-harness/src/integrationtests/test-payment.ts index da9f97bf4..651d0edfa 100644 --- a/packages/taler-harness/src/integrationtests/test-payment.ts +++ b/packages/taler-harness/src/integrationtests/test-payment.ts @@ -24,6 +24,7 @@ import { createSimpleTestkudosEnvironmentV3, makeTestPaymentV2, withdrawViaBankV2, + withdrawViaBankV3, } from "../harness/helpers.js"; /** @@ -32,24 +33,23 @@ import { export async function runPaymentTest(t: GlobalTestState) { // Set up test environment - const { bank, walletClient, exchange, merchant } = + const { bankClient, walletClient, exchange, merchant } = await createSimpleTestkudosEnvironmentV3(t, undefined, { withLibeufin: false, }); // Withdraw digital cash into the wallet. - await withdrawViaBankV2(t, { + t.assertTrue(bankClient !== undefined); + await withdrawViaBankV3(t, { walletClient, exchange, amount: "TESTKUDOS:20", - bank, + bankClient, }); await walletClient.call(WalletApiOperation.TestingWaitTransactionsFinal, {}); - console.log("line 51"); - const order = { summary: "Buy me!", amount: "TESTKUDOS:5", |