gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] 02/03: Not tolerating != 200 responses during (libEu


From: gnunet
Subject: [taler-wallet-core] 02/03: Not tolerating != 200 responses during (libEufin) tests.
Date: Fri, 15 Oct 2021 07:50:30 +0200

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

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

commit 883ed972a45ff1fa4b07956b54a947283cba99b8
Author: ms <ms@taler.net>
AuthorDate: Thu Oct 14 22:45:06 2021 +0200

    Not tolerating != 200 responses during (libEufin) tests.
---
 .../src/integrationtests/libeufin.ts                | 21 ++++++++++-----------
 .../src/integrationtests/test-libeufin-c5x.ts       |  1 +
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts 
b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts
index 61be10c7..2ee98952 100644
--- a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts
@@ -829,7 +829,7 @@ export namespace LibeufinSandboxApi {
     await axios.post(url.href, {}, {
       auth: {
         username: "admin",
-        password: "test",
+        password: "secret",
       },
     });
   }
@@ -846,7 +846,7 @@ export namespace LibeufinSandboxApi {
     {
       auth: {
         username: "admin",
-        password: "test",
+        password: "secret",
       },
     });
   }
@@ -860,7 +860,7 @@ export namespace LibeufinSandboxApi {
     await axios.post(url.href, req, {
       auth: {
         username: "admin",
-        password: "test",
+        password: "secret",
       },
     });
   }
@@ -874,7 +874,7 @@ export namespace LibeufinSandboxApi {
     await axios.post(url.href, req, {
       auth: {
         username: "admin",
-        password: "test",
+        password: "secret",
       },
     });
   }
@@ -888,7 +888,7 @@ export namespace LibeufinSandboxApi {
     await axios.post(url.href, req, {
       auth: {
         username: "admin",
-        password: "test",
+        password: "secret",
       },
     });
   }
@@ -902,7 +902,7 @@ export namespace LibeufinSandboxApi {
     await axios.post(url.href, req, {
       auth: {
         username: "admin",
-        password: "test",
+        password: "secret",
       },
     });
   }
@@ -944,7 +944,7 @@ export namespace LibeufinSandboxApi {
     await axios.post(url.href, req, {
       auth: {
         username: "admin",
-        password: "test",
+        password: "secret",
       },
     });
   }
@@ -961,7 +961,7 @@ export namespace LibeufinSandboxApi {
     const res = await axios.get(url.href, {
       auth: {
         username: "admin",
-        password: "test",
+        password: "secret",
       },
     });
     return res.data as SandboxAccountTransactions;
@@ -980,7 +980,7 @@ export namespace LibeufinSandboxApi {
     {
       auth: {
         username: "admin",
-        password: "test",
+        password: "secret",
       },
     });
   }
@@ -997,7 +997,7 @@ export namespace LibeufinSandboxApi {
     return await axios.get(url.href, {
       auth: {
         username: "admin",
-        password: "test",
+        password: "secret",
       },
     });
   }
@@ -1343,7 +1343,6 @@ export namespace LibeufinNexusApi {
           username: username,
           password: password,
         },
-        validateStatus: () => true,
       },
     );
   }
diff --git 
a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-c5x.ts 
b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-c5x.ts
index ebde5206..e45f0a23 100644
--- a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-c5x.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-c5x.ts
@@ -100,6 +100,7 @@ export async function runLibeufinC5xTest(t: 
GlobalTestState) {
   );
   t.assertTrue(expectOne.data.newTransactions == 1);
   t.assertTrue(expectOne.data.downloadedTransactions == 1);
+
   let expectZero = await LibeufinNexusApi.fetchTransactions(
     libeufinServices.libeufinNexus,
     user01nexus.localAccountName,

-- 
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]