aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-clause-schnorr.ts
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2024-04-04 23:08:21 -0600
committerIván Ávalos <avalos@disroot.org>2024-05-15 09:41:30 -0600
commitf4160c6d187794a643e4d4e7556338e69700a2d2 (patch)
tree94ef2fca5d32d4172cbbfec6b7cc9480e537cf2f /packages/taler-harness/src/integrationtests/test-clause-schnorr.ts
parent2223b3a6c72163038bee56087f2f576bb1651bc3 (diff)
downloadwallet-core-f4160c6d187794a643e4d4e7556338e69700a2d2.tar.gz
wallet-core-f4160c6d187794a643e4d4e7556338e69700a2d2.tar.bz2
wallet-core-f4160c6d187794a643e4d4e7556338e69700a2d2.zip
harness: make some tests run against libeufin
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-clause-schnorr.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-clause-schnorr.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-clause-schnorr.ts b/packages/taler-harness/src/integrationtests/test-clause-schnorr.ts
index a5ad382a7..adab764ef 100644
--- a/packages/taler-harness/src/integrationtests/test-clause-schnorr.ts
+++ b/packages/taler-harness/src/integrationtests/test-clause-schnorr.ts
@@ -21,9 +21,9 @@ import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
import { CoinConfig, defaultCoinConfig } from "../harness/denomStructures.js";
import { GlobalTestState } from "../harness/harness.js";
import {
- createSimpleTestkudosEnvironmentV2,
+ createSimpleTestkudosEnvironmentV3,
makeTestPaymentV2,
- withdrawViaBankV2,
+ withdrawViaBankV3,
} from "../harness/helpers.js";
/**
@@ -54,14 +54,14 @@ export async function runClauseSchnorrTest(t: GlobalTestState) {
name: "rsa_dummy",
});
- const { walletClient, bank, exchange, merchant } =
- await createSimpleTestkudosEnvironmentV2(t, coinConfig);
+ const { walletClient, bankClient, exchange, merchant } =
+ await createSimpleTestkudosEnvironmentV3(t, coinConfig);
// Withdraw digital cash into the wallet.
- const wres = await withdrawViaBankV2(t, {
+ const wres = await withdrawViaBankV3(t, {
walletClient,
- bank,
+ bankClient,
exchange,
amount: "TESTKUDOS:20",
});