gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: deletion test: expect differe


From: gnunet
Subject: [taler-wallet-core] branch master updated: deletion test: expect different status code
Date: Thu, 04 Mar 2021 16:10:41 +0100

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 49b5d006 deletion test: expect different status code
49b5d006 is described below

commit 49b5d006db6639082eea10158e2da7cc13473c21
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Mar 4 16:10:36 2021 +0100

    deletion test: expect different status code
---
 .../src/integrationtests/test-merchant-instances-delete.ts           | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-delete.ts
 
b/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-delete.ts
index e6f7d574..77e0d1bd 100644
--- 
a/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-delete.ts
+++ 
b/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-delete.ts
@@ -110,7 +110,8 @@ export async function runMerchantInstancesDeleteTest(t: 
GlobalTestState) {
     const unauthMerchantClient = new MerchantApiClient(
       merchant.makeInstanceBaseUrl(),
       {
-        method: "external",
+        method: "token",
+        token: "secret-token:invalid",
       },
     );
 
@@ -119,7 +120,7 @@ export async function runMerchantInstancesDeleteTest(t: 
GlobalTestState) {
     });
     console.log(exc);
     t.assertAxiosError(exc);
-    t.assertDeepEqual(exc.response?.status, 403);
+    t.assertDeepEqual(exc.response?.status, 401);
   }
 }
 

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