diff options
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests')
4 files changed, 11 insertions, 15 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-bank-api.ts b/packages/taler-wallet-cli/src/integrationtests/test-bank-api.ts index 31113aa1f..ab7ea1132 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-bank-api.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-bank-api.ts @@ -43,10 +43,10 @@ export async function runBankApiTest(t: GlobalTestState) { const db = await setupDb(t); const bank = await BankService.create(t, { - allowRegistrations: true, currency: "TESTKUDOS", - database: db.connStr, httpPort: 8082, + database: db.connStr, + allowRegistrations: true, }); const exchange = ExchangeService.create(t, { diff --git a/packages/taler-wallet-cli/src/integrationtests/test-forced-selection.ts b/packages/taler-wallet-cli/src/integrationtests/test-forced-selection.ts index 302e3364a..91be11a82 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-forced-selection.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-forced-selection.ts @@ -17,17 +17,9 @@ /** * Imports. */ -import { - ConfirmPayResultType, - j2s, - PreparePayResultType, -} from "@gnu-taler/taler-util"; -import { Wallet, WalletApiOperation } from "@gnu-taler/taler-wallet-core"; -import { - GlobalTestState, - MerchantPrivateApi, - WithAuthorization, -} from "../harness/harness.js"; +import { j2s } from "@gnu-taler/taler-util"; +import { WalletApiOperation } from "@gnu-taler/taler-wallet-core"; +import { GlobalTestState } from "../harness/harness.js"; import { createSimpleTestkudosEnvironment } from "../harness/helpers.js"; /** diff --git a/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-abort-bank.ts b/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-abort-bank.ts index 0125b3b41..bf2dc0133 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-abort-bank.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-abort-bank.ts @@ -54,6 +54,7 @@ export async function runWithdrawalAbortBankTest(t: GlobalTestState) { // Abort it await BankApi.abortWithdrawalOperation(bank, user, wop); + //await BankApi.confirmWithdrawalOperation(bank, user, wop); // Withdraw diff --git a/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-fakebank.ts b/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-fakebank.ts index 5860aaf88..ec6e54e6c 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-fakebank.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-withdrawal-fakebank.ts @@ -22,7 +22,7 @@ import { WalletCli, setupDb, ExchangeService, - FakeBankService, + FakebankService, } from "../harness/harness.js"; import { WalletApiOperation } from "@gnu-taler/taler-wallet-core"; import { CoinConfig, defaultCoinConfig } from "../harness/denomStructures.js"; @@ -36,9 +36,12 @@ export async function runWithdrawalFakebankTest(t: GlobalTestState) { const db = await setupDb(t); - const bank = await FakeBankService.create(t, { + const bank = await FakebankService.create(t, { currency: "TESTKUDOS", httpPort: 8082, + allowRegistrations: true, + // Not used by fakebank + database: db.connStr, }); const exchange = ExchangeService.create(t, { |