aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/harness.ts2
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts5
2 files changed, 4 insertions, 3 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/harness.ts b/packages/taler-wallet-cli/src/integrationtests/harness.ts
index 65ffdafb5..9c7aa2852 100644
--- a/packages/taler-wallet-cli/src/integrationtests/harness.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/harness.ts
@@ -1189,7 +1189,7 @@ export interface MerchantServiceInterface {
export class MerchantApiClient {
constructor(
private baseUrl: string,
- private auth: MerchantAuthConfiguration,
+ public readonly auth: MerchantAuthConfiguration,
) {}
async changeAuth(auth: MerchantAuthConfiguration): Promise<void> {
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts b/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts
index fe7f28b49..eb171747f 100644
--- a/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts
@@ -122,7 +122,9 @@ export async function runMerchantInstancesTest(t: GlobalTestState) {
// Now this should fail, as we didn't change the auth of the client yet.
const exc = await t.assertThrowsAsync(async () => {
- await merchantClient.getInstances();
+ console.log("requesting instances with auth", merchantClient.auth);
+ const resp = await merchantClient.getInstances();
+ console.log("axios result:", resp);
});
t.assertAxiosError(exc);
@@ -137,7 +139,6 @@ export async function runMerchantInstancesTest(t: GlobalTestState) {
await merchantClient.getInstances();
// Now, try some variations.
-
{
const url = merchant.makeInstanceBaseUrl();
const resp = await axios.get(new URL("private/instances", url).href, {