gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] 19/22: unparsable response for proposal-lo


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] 19/22: unparsable response for proposal-lookup.
Date: Sat, 17 Mar 2018 01:58:44 +0100

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

marcello pushed a commit to branch master
in repository merchant.

commit 8284c9aa2ca7380368c3ee1da334bef0132b3f38
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Mar 16 16:55:03 2018 +0100

    unparsable response for proposal-lookup.
---
 src/lib/test_merchant_api_twisted.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/src/lib/test_merchant_api_twisted.c 
b/src/lib/test_merchant_api_twisted.c
index 31d0dd8..2345567 100644
--- a/src/lib/test_merchant_api_twisted.c
+++ b/src/lib/test_merchant_api_twisted.c
@@ -300,6 +300,19 @@ run (void *cls,
                                        MHD_HTTP_NOT_FOUND,
                                        NULL,
                                        "does-not-exist"),
+    /* Cause a unparsable response to be returned.  */
+    TALER_TESTING_cmd_malform_response
+      ("malform-proposal-lookup",
+       PROXY_MERCHANT_CONFIG_FILE),
+    /* To be short, we'll make a _error_ response to be
+     * unparsable.  */
+    TALER_TESTING_cmd_proposal_lookup ("lookup-1",
+                                       is->ctx,
+                                       twister_merchant_url,
+                                       0, // response code.
+                                       NULL,
+                                       "does-not-exist"),
+
     /**** Covering /history lib ****/
 
     /**

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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