aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-age-restrictions-merchant.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-09-06 11:23:33 +0200
committerFlorian Dold <florian@dold.me>2023-09-06 11:23:33 +0200
commit9a1a3b350d4147243dbe2ecfcdcb846c0f3c6dcb (patch)
treef9b01f5748edf391146d2bbaec62aad285d261ec /packages/taler-harness/src/integrationtests/test-age-restrictions-merchant.ts
parentc9a0d2eb968133b1ad156e1dc86e6c06dad09c7a (diff)
downloadwallet-core-9a1a3b350d4147243dbe2ecfcdcb846c0f3c6dcb.tar.xz
harness: get rid of deprecated merchant API client
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.ts4
1 files changed, 1 insertions, 3 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 3072badc0..45a035cc4 100644
--- a/packages/taler-harness/src/integrationtests/test-age-restrictions-merchant.ts
+++ b/packages/taler-harness/src/integrationtests/test-age-restrictions-merchant.ts
@@ -27,8 +27,6 @@ import {
getWireMethodForTest,
GlobalTestState,
MerchantApiClient,
- MerchantPrivateApi,
- WalletCli,
} from "../harness/harness.js";
import {
createSimpleTestkudosEnvironmentV2,
@@ -214,7 +212,7 @@ export async function runAgeRestrictionsMerchantTest(t: GlobalTestState) {
await exchange.runWirewatchOnce();
- const tip = await MerchantPrivateApi.giveTip(merchant, "default", {
+ const tip = await merchantClient.giveTip({
amount: "TESTKUDOS:5",
justification: "why not?",
next_url: "https://example.com/after-tip",