summaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-merchant-spec-public-orders.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-merchant-spec-public-orders.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-merchant-spec-public-orders.ts9
1 files changed, 3 insertions, 6 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-merchant-spec-public-orders.ts b/packages/taler-harness/src/integrationtests/test-merchant-spec-public-orders.ts
index 975ba707b..fca368dad 100644
--- a/packages/taler-harness/src/integrationtests/test-merchant-spec-public-orders.ts
+++ b/packages/taler-harness/src/integrationtests/test-merchant-spec-public-orders.ts
@@ -24,7 +24,6 @@ import {
encodeCrock,
getRandomBytes,
} from "@gnu-taler/taler-util";
-import { createPlatformHttpLib } from "@gnu-taler/taler-util/http";
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
import {
BankService,
@@ -33,17 +32,13 @@ import {
MerchantPrivateApi,
MerchantService,
WalletCli,
+ harnessHttpLib,
} from "../harness/harness.js";
import {
createSimpleTestkudosEnvironment,
withdrawViaBank,
} from "../harness/helpers.js";
-const httpLib = createPlatformHttpLib({
- allowHttp: true,
- enableThrottling: false,
-});
-
interface Context {
merchant: MerchantService;
merchantBaseUrl: string;
@@ -51,6 +46,8 @@ interface Context {
exchange: ExchangeService;
}
+const httpLib = harnessHttpLib;
+
async function testWithClaimToken(
t: GlobalTestState,
c: Context,