From e9864adf1586a17aca9a7bd7747e8fd2baa001f3 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 14 Aug 2020 16:18:48 +0530 Subject: [PATCH] integration test fixes --- packages/taler-integrationtests/src/harness.ts | 4 ++-- packages/taler-integrationtests/src/test-wallettesting.ts | 2 +- packages/taler-wallet-core/src/wallet.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/taler-integrationtests/src/harness.ts b/packages/taler-integrationtests/src/harness.ts index d710feea4..753e10e7e 100644 --- a/packages/taler-integrationtests/src/harness.ts +++ b/packages/taler-integrationtests/src/harness.ts @@ -1245,8 +1245,8 @@ export class WalletCli { throw new OperationFailedError(resp.error); } - async runIntegrationtest(args: IntegrationTestArgs): Promise { - const resp = await this.apiRequest("runIntegrationtest", args); + async runIntegrationTest(args: IntegrationTestArgs): Promise { + const resp = await this.apiRequest("runIntegrationTest", args); if (resp.type === "response") { return; } diff --git a/packages/taler-integrationtests/src/test-wallettesting.ts b/packages/taler-integrationtests/src/test-wallettesting.ts index de1f1e228..5abfcfcda 100644 --- a/packages/taler-integrationtests/src/test-wallettesting.ts +++ b/packages/taler-integrationtests/src/test-wallettesting.ts @@ -36,7 +36,7 @@ runTest(async (t: GlobalTestState) => { merchant, } = await createSimpleTestkudosEnvironment(t); - await wallet.runIntegrationtest({ + await wallet.runIntegrationTest({ amountToSpend: "TESTKUDOS:5", amountToWithdraw: "TESTKUDOS:10", bankBaseUrl: bank.baseUrl, diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 4b309dde3..41b096bca 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -938,7 +938,7 @@ export class Wallet { await this.withdrawTestBalance(req); return {}; } - case "runIntegrationtest": { + case "runIntegrationTest": { const req = codecForIntegrationTestArgs().decode(payload); await this.runIntegrationtest(req); return {}