gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] 11/24: add ACCEPTED case


From: gnunet
Subject: [taler-merchant] 11/24: add ACCEPTED case
Date: Wed, 17 Nov 2021 12:44:34 +0100

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

grothoff pushed a commit to branch master
in repository merchant.

commit 8e2a3f641a9cd727b6daf67b320ac2b52e01f9f8
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Wed Nov 3 00:27:27 2021 +0100

    add ACCEPTED case
---
 src/testing/testing_api_cmd_get_orders.c | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/testing/testing_api_cmd_get_orders.c 
b/src/testing/testing_api_cmd_get_orders.c
index 8a08f6f8..479faac9 100644
--- a/src/testing/testing_api_cmd_get_orders.c
+++ b/src/testing/testing_api_cmd_get_orders.c
@@ -179,6 +179,9 @@ get_orders_cb (void *cls,
       }
     }
     break;
+  case MHD_HTTP_ACCEPTED:
+    /* FIXME: do more checks here (new KYC logic!) */
+    break;
   default:
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                 "Unhandled HTTP status.\n");
@@ -190,7 +193,6 @@ get_orders_cb (void *cls,
 /**
  * Run the "GET /orders" CMD.
  *
- *
  * @param cls closure.
  * @param cmd command being run now.
  * @param is interpreter state.
@@ -499,9 +501,6 @@ merchant_poll_orders_start_cleanup (void *cls,
 }
 
 
-/**
- * Start a long poll for GET /private/orders.
- */
 struct TALER_TESTING_Command
 TALER_TESTING_cmd_poll_orders_start (const char *label,
                                      const char *merchant_url,
@@ -586,9 +585,6 @@ merchant_poll_orders_conclude_cleanup (void *cls,
 }
 
 
-/**
- * Complete a long poll for GET /private/orders.
- */
 struct TALER_TESTING_Command
 TALER_TESTING_cmd_poll_orders_conclude (const char *label,
                                         unsigned int http_status,

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