[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
- [GNUnet-SVN] [taler-merchant] branch master updated (6f5656a -> 0b14a3f), gnunet, 2018/03/16
- [GNUnet-SVN] [taler-merchant] 04/22: check if twister is installed., gnunet, 2018/03/16
- [GNUnet-SVN] [taler-merchant] 01/22: re-enable twisted tests, gnunet, 2018/03/16
- [GNUnet-SVN] [taler-merchant] 08/22: trigger 424, gnunet, 2018/03/16
- [GNUnet-SVN] [taler-merchant] 07/22: enabling twisted command., gnunet, 2018/03/16
- [GNUnet-SVN] [taler-merchant] 19/22: unparsable response for proposal-lookup.,
gnunet <=
- [GNUnet-SVN] [taler-merchant] 06/22: multicoin check paid., gnunet, 2018/03/16
- [GNUnet-SVN] [taler-merchant] 09/22: trigger 424 confict caused by exchange., gnunet, 2018/03/16
- [GNUnet-SVN] [taler-merchant] 10/22: do not treat 424 Failed Dependency as "unexpected"., gnunet, 2018/03/16
- [GNUnet-SVN] [taler-merchant] 20/22: cause invalid proposal-lookup response., gnunet, 2018/03/16
- [GNUnet-SVN] [taler-merchant] 03/22: comments, gnunet, 2018/03/16
- [GNUnet-SVN] [taler-merchant] 14/22: /proposal cb called with response code == 0., gnunet, 2018/03/16
- [GNUnet-SVN] [taler-merchant] 22/22: fulfillment URL mandatory., gnunet, 2018/03/16
- [GNUnet-SVN] [taler-merchant] 11/22: typo, gnunet, 2018/03/16
- [GNUnet-SVN] [taler-merchant] 05/22: fix multi-coin payment., gnunet, 2018/03/16
- [GNUnet-SVN] [taler-merchant] 21/22: re-enabling 402 Failed Dependency from /track/transaction., gnunet, 2018/03/16