aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-09-07 12:55:09 +0200
committerFlorian Dold <florian@dold.me>2022-09-07 12:55:09 +0200
commita37d201aa26fedc6671882ae0d1e7ac7f748f917 (patch)
tree55f85e44e4035907925c059c5592775c3cdc20e3
parent319d51dc4204659f2dea83447d728c222f702da8 (diff)
fix typo
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/test-exchange-management.ts12
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-exchange-management.ts b/packages/taler-wallet-cli/src/integrationtests/test-exchange-management.ts
index e48dc89f5..0193322fd 100644
--- a/packages/taler-wallet-cli/src/integrationtests/test-exchange-management.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/test-exchange-management.ts
@@ -32,7 +32,7 @@ import {
BankAccessApi,
} from "@gnu-taler/taler-wallet-core";
import {
- ExchangesListRespose,
+ ExchangesListResponse,
URL,
TalerErrorCode,
} from "@gnu-taler/taler-util";
@@ -45,7 +45,9 @@ import { defaultCoinConfig } from "../harness/denomStructures.js";
/**
* Test if the wallet handles outdated exchange versions correct.y
*/
-export async function runExchangeManagementTest(t: GlobalTestState): Promise<void> {
+export async function runExchangeManagementTest(
+ t: GlobalTestState,
+): Promise<void> {
// Set up test environment
const db = await setupDb(t);
@@ -121,7 +123,7 @@ export async function runExchangeManagementTest(t: GlobalTestState): Promise<voi
const wallet = new WalletCli(t);
- let exchangesList: ExchangesListRespose;
+ let exchangesList: ExchangesListResponse;
exchangesList = await wallet.client.call(
WalletApiOperation.ListExchanges,
@@ -197,7 +199,7 @@ export async function runExchangeManagementTest(t: GlobalTestState): Promise<voi
// in a format the wallet can understand.
t.assertTrue(
err1.errorDetail.innerError.code ===
- TalerErrorCode.WALLET_RECEIVED_MALFORMED_RESPONSE,
+ TalerErrorCode.WALLET_RECEIVED_MALFORMED_RESPONSE,
);
exchangesList = await wallet.client.call(
@@ -241,7 +243,7 @@ export async function runExchangeManagementTest(t: GlobalTestState): Promise<voi
t.assertTrue(
err2.errorDetail.innerError.code ===
- TalerErrorCode.WALLET_EXCHANGE_PROTOCOL_VERSION_INCOMPATIBLE,
+ TalerErrorCode.WALLET_EXCHANGE_PROTOCOL_VERSION_INCOMPATIBLE,
);
exchangesList = await wallet.client.call(