diff options
author | Florian Dold <florian@dold.me> | 2023-04-22 18:36:56 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-04-22 18:36:56 +0200 |
commit | da59c85d2da6541ba54578adb43db1e4bf12dafa (patch) | |
tree | 1c6184260cbf40c0d0724e9a90a3cbcbb83976d0 /packages/taler-harness/src | |
parent | 15feebecfeeda4758a96d1da99a98d9494c4bd2b (diff) | |
download | wallet-core-da59c85d2da6541ba54578adb43db1e4bf12dafa.tar.xz |
get rid of deprecated bankBaseUrl in more places
Diffstat (limited to 'packages/taler-harness/src')
3 files changed, 3 insertions, 8 deletions
diff --git a/packages/taler-harness/src/index.ts b/packages/taler-harness/src/index.ts index 287e1f5be..e8eb57fe9 100644 --- a/packages/taler-harness/src/index.ts +++ b/packages/taler-harness/src/index.ts @@ -281,7 +281,6 @@ deploymentCli amount: "KUDOS:10", bankAccessApiBaseUrl: "https://bank.demo.taler.net/demobanks/default/access-api/", - bankBaseUrl: "", exchangeInfo, http, reservePub: reserveKeyPair.pub, @@ -311,7 +310,6 @@ deploymentCli await topupReserveWithDemobank({ amount: "TESTKUDOS:10", bankAccessApiBaseUrl: "http://localhost:8082/taler-bank-access/", - bankBaseUrl: "", exchangeInfo, http, reservePub: reserveKeyPair.pub, diff --git a/packages/taler-harness/src/integrationtests/test-wallet-dbless.ts b/packages/taler-harness/src/integrationtests/test-wallet-dbless.ts index 35c60a89d..37be9dcf8 100644 --- a/packages/taler-harness/src/integrationtests/test-wallet-dbless.ts +++ b/packages/taler-harness/src/integrationtests/test-wallet-dbless.ts @@ -73,7 +73,6 @@ export async function runWalletDblessTest(t: GlobalTestState) { http, reservePub: reserveKeyPair.pub, bankAccessApiBaseUrl: bank.bankAccessApiBaseUrl, - bankBaseUrl: bank.baseUrl, exchangeInfo, }); diff --git a/packages/taler-harness/src/integrationtests/test-withdrawal-manual.ts b/packages/taler-harness/src/integrationtests/test-withdrawal-manual.ts index d28ecc91c..260972498 100644 --- a/packages/taler-harness/src/integrationtests/test-withdrawal-manual.ts +++ b/packages/taler-harness/src/integrationtests/test-withdrawal-manual.ts @@ -20,9 +20,7 @@ import { GlobalTestState } from "../harness/harness.js"; import { createSimpleTestkudosEnvironment } from "../harness/helpers.js"; import { WalletApiOperation, BankApi } from "@gnu-taler/taler-wallet-core"; -import { - AbsoluteTime, j2s, Logger, -} from "@gnu-taler/taler-util"; +import { AbsoluteTime, j2s, Logger } from "@gnu-taler/taler-util"; const logger = new Logger("test-withdrawal-manual.ts"); @@ -47,7 +45,7 @@ export async function runWithdrawalManualTest(t: GlobalTestState) { logger.info("starting AcceptManualWithdrawal request"); // We expect this to return immediately. - + const wres = await wallet.client.call( WalletApiOperation.AcceptManualWithdrawal, { @@ -61,7 +59,7 @@ export async function runWithdrawalManualTest(t: GlobalTestState) { // Check that the request did not go into long-polling. const duration = AbsoluteTime.difference(tStart, AbsoluteTime.now()); - if (duration.d_ms > 5 * 1000) { + if (typeof duration.d_ms !== "number" || duration.d_ms > 5 * 1000) { throw Error("withdrawal took too long (longpolling issue)"); } |