gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: fix test now that libtalermercha


From: gnunet
Subject: [taler-merchant] branch master updated: fix test now that libtalermerchant returns the actual HTTP status code
Date: Mon, 11 Jul 2022 15:37:27 +0200

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new cc53025a fix test now that libtalermerchant returns the actual HTTP 
status code
cc53025a is described below

commit cc53025af7b9aec2f37bc07a411f1ae666430b8d
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Jul 11 15:37:25 2022 +0200

    fix test now that libtalermerchant returns the actual HTTP status code
---
 src/testing/test_merchant_api.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c
index 8e7f3e7b..3a32a981 100644
--- a/src/testing/test_merchant_api.c
+++ b/src/testing/test_merchant_api.c
@@ -375,7 +375,7 @@ run (void *cls,
                                         false,
                                         false,
                                         false,
-                                        MHD_HTTP_OK),
+                                        MHD_HTTP_PAYMENT_REQUIRED),
     TALER_TESTING_cmd_merchant_get_order ("get-order-merchant-1",
                                           merchant_url,
                                           "create-proposal-1",
@@ -414,7 +414,7 @@ run (void *cls,
                                                   "poll-order-wallet-start-1"),
     /* Here we expect to run into a timeout, as we do not pay this one */
     TALER_TESTING_cmd_wallet_poll_order_conclude2 ("poll-order-1x-conclude",
-                                                   MHD_HTTP_OK,
+                                                   MHD_HTTP_PAYMENT_REQUIRED,
                                                    NULL,
                                                    
"poll-order-wallet-start-1x",
                                                    "1"),

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