diff options
author | Florian Dold <florian@dold.me> | 2023-02-15 23:32:42 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-02-16 02:50:29 +0100 |
commit | 825d2c4352022e7397854b2bd9ba7d3589873c07 (patch) | |
tree | d23530bf8408367439e6b3820ea0c4269bfeb39a /packages/taler-harness/src/integrationtests/test-payment-on-demo.ts | |
parent | cb2f4c21d85707abb0221cbf2a859a98836b2d44 (diff) | |
download | wallet-core-825d2c4352022e7397854b2bd9ba7d3589873c07.tar.xz |
make wallet-cli runnable under qtart
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-payment-on-demo.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-payment-on-demo.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-payment-on-demo.ts b/packages/taler-harness/src/integrationtests/test-payment-on-demo.ts index 737620ce7..22e88c8a0 100644 --- a/packages/taler-harness/src/integrationtests/test-payment-on-demo.ts +++ b/packages/taler-harness/src/integrationtests/test-payment-on-demo.ts @@ -24,8 +24,8 @@ import { BankApi, BankAccessApi, BankServiceHandle, - NodeHttpLib, } from "@gnu-taler/taler-wallet-core"; +import { createPlatformHttpLib } from "@gnu-taler/taler-util/http"; /** * Run test for basic, bank-integrated withdrawal and payment. @@ -35,7 +35,7 @@ export async function runPaymentDemoTest(t: GlobalTestState) { let bankInterface: BankServiceHandle = { baseUrl: "https://bank.demo.taler.net/", bankAccessApiBaseUrl: "https://bank.demo.taler.net/", - http: new NodeHttpLib(), + http: createPlatformHttpLib(), }; let user = await BankApi.createRandomBankUser(bankInterface); let wop = await BankAccessApi.createWithdrawalOperation( |