aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-withdrawal-fees.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-09-05 10:46:06 +0200
committerFlorian Dold <florian@dold.me>2023-09-05 10:48:41 +0200
commita60a1d867cfe6a12f1e6fadfa037f022e9385107 (patch)
treebc77a92b327cd0e4933fa4b3fe15f1c775e24235 /packages/taler-harness/src/integrationtests/test-withdrawal-fees.ts
parente1d86816a7c07cb8ca2d54676d5cdbbe513f2ba7 (diff)
downloadwallet-core-a60a1d867cfe6a12f1e6fadfa037f022e9385107.tar.xz
harness: remove deprecated testing APIs
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-withdrawal-fees.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-withdrawal-fees.ts24
1 files changed, 12 insertions, 12 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-withdrawal-fees.ts b/packages/taler-harness/src/integrationtests/test-withdrawal-fees.ts
index 06355b964..34dfb8fc9 100644
--- a/packages/taler-harness/src/integrationtests/test-withdrawal-fees.ts
+++ b/packages/taler-harness/src/integrationtests/test-withdrawal-fees.ts
@@ -17,22 +17,19 @@
/**
* Imports.
*/
+import { j2s } from "@gnu-taler/taler-util";
import {
- GlobalTestState,
- WalletCli,
- setupDb,
- ExchangeService,
- BankService,
-} from "../harness/harness.js";
-import {
- BankAccessApi,
BankAccessApiClient,
- BankApi,
WalletApiOperation,
} from "@gnu-taler/taler-wallet-core";
import { CoinConfig } from "../harness/denomStructures.js";
-import { j2s, URL } from "@gnu-taler/taler-util";
-import { withdrawViaBank } from "../harness/helpers.js";
+import {
+ BankService,
+ ExchangeService,
+ GlobalTestState,
+ WalletCli,
+ setupDb,
+} from "../harness/harness.js";
const coinRsaCommon = {
cipher: "RSA" as const,
@@ -119,7 +116,10 @@ export async function runWithdrawalFeesTest(t: GlobalTestState) {
});
const user = await bankAccessApiClient.createRandomBankUser();
bankAccessApiClient.setAuth(user);
- const wop = await bankAccessApiClient.createWithdrawalOperation(user.username, amount);
+ const wop = await bankAccessApiClient.createWithdrawalOperation(
+ user.username,
+ amount,
+ );
// Hand it to the wallet