gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: better logging


From: gnunet
Subject: [taler-wallet-core] branch master updated: better logging
Date: Thu, 08 Apr 2021 16:31:49 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 15cecf12 better logging
15cecf12 is described below

commit 15cecf126ad8f2a34ce76a02abfd648433b81cfb
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Apr 8 16:31:43 2021 +0200

    better logging
---
 packages/taler-wallet-cli/src/integrationtests/harness.ts            | 2 +-
 .../taler-wallet-cli/src/integrationtests/test-merchant-instances.ts | 5 +++--
 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 65ffdafb..9c7aa285 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 fe7f28b4..eb171747 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, {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]