diff options
author | Florian Dold <florian@dold.me> | 2023-09-06 11:44:07 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-09-06 11:44:07 +0200 |
commit | 324d9f871c356f48f64c170a793024139ae2694d (patch) | |
tree | 41c169b113ca1357b0e3dc07a79266f23931c203 /packages/taler-harness/src/integrationtests/test-age-restrictions-merchant.ts | |
parent | 9a1a3b350d4147243dbe2ecfcdcb846c0f3c6dcb (diff) | |
download | wallet-core-324d9f871c356f48f64c170a793024139ae2694d.tar.xz |
move merchant API client to taler-util
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-age-restrictions-merchant.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-age-restrictions-merchant.ts | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-age-restrictions-merchant.ts b/packages/taler-harness/src/integrationtests/test-age-restrictions-merchant.ts index 45a035cc4..4e096e0ea 100644 --- a/packages/taler-harness/src/integrationtests/test-age-restrictions-merchant.ts +++ b/packages/taler-harness/src/integrationtests/test-age-restrictions-merchant.ts @@ -1,6 +1,6 @@ /* This file is part of GNU Taler - (C) 2022 Taler Systems S.A. + (C) 2022-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 @@ -23,17 +23,14 @@ import { WireGatewayApiClient, } from "@gnu-taler/taler-wallet-core"; import { defaultCoinConfig } from "../harness/denomStructures.js"; -import { - getWireMethodForTest, - GlobalTestState, - MerchantApiClient, -} from "../harness/harness.js"; +import { getWireMethodForTest, GlobalTestState } from "../harness/harness.js"; import { createSimpleTestkudosEnvironmentV2, createWalletDaemonWithClient, makeTestPaymentV2, withdrawViaBankV2, } from "../harness/helpers.js"; +import { MerchantApiClient } from "@gnu-taler/taler-util"; /** * Run test for basic, bank-integrated withdrawal and payment. @@ -57,9 +54,6 @@ export async function runAgeRestrictionsMerchantTest(t: GlobalTestState) { const merchantClient = new MerchantApiClient( merchant.makeInstanceBaseUrl("default"), - { - method: "external", - }, ); const { walletClient: walletClientTwo } = await createWalletDaemonWithClient( |