gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] 22/22: fulfillment URL mandatory.


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] 22/22: fulfillment URL mandatory.
Date: Sat, 17 Mar 2018 01:58:47 +0100

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

marcello pushed a commit to branch master
in repository merchant.

commit 0b14a3f07166cceac1c2f6993c96b677f2fdae26
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Mar 17 01:51:51 2018 +0100

    fulfillment URL mandatory.
---
 src/lib/test_merchant_api_twisted.c | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/src/lib/test_merchant_api_twisted.c 
b/src/lib/test_merchant_api_twisted.c
index 6ab7d19..963bbfd 100644
--- a/src/lib/test_merchant_api_twisted.c
+++ b/src/lib/test_merchant_api_twisted.c
@@ -268,17 +268,18 @@ run (void *cls,
           {\"currency\":\"EUR\",\
            \"value\":0,\
            \"fraction\":50000000},\
-        \"order_id\":\"2\",\
-        \"refund_deadline\":\"\\/Date(0)\\/\",\
-        \"pay_deadline\":\"\\/Date(99999999999)\\/\",\
-        \"amount\":\
-          {\"currency\":\"EUR\",\
-           \"value\":5,\
-           \"fraction\":0},\
-        \"summary\": \"merchant-lib testcase\",\
-        \"products\": [ {\"description\":\"ice cream\",\
-                         \"value\":\"{EUR:5}\"} ] }",
-        NULL),
+         \"fulfillment_url\": \"https://example.com/\",\
+         \"order_id\":\"2\",\
+         \"refund_deadline\":\"\\/Date(0)\\/\",\
+         \"pay_deadline\":\"\\/Date(99999999999)\\/\",\
+         \"amount\":\
+           {\"currency\":\"EUR\",\
+            \"value\":5,\
+            \"fraction\":0},\
+         \"summary\": \"merchant-lib testcase\",\
+         \"products\": [ {\"description\":\"ice cream\",\
+                          \"value\":\"{EUR:5}\"} ] }",
+         NULL),
     /**
      * Cause a 404 Not Found response code,
      * due to a non existing merchant instance.
@@ -289,6 +290,7 @@ run (void *cls,
        is->ctx,
        MHD_HTTP_NOT_FOUND,
        "{\"amount\":\"EUR:5\",\
+         \"fulfillment_url\": \"https://example.com/\",\
          \"summary\": \"merchant-lib testcase\"}",
        "non-existent-instance"),
 
@@ -336,6 +338,7 @@ run (void *cls,
           {\"currency\":\"EUR\",\
            \"value\":5,\
            \"fraction\":0},\
+        \"fulfillment_url\": \"https://example.com/\",\
         \"summary\": \"merchant-lib testcase\",\
         \"products\": [ {\"description\":\"ice cream\",\
                          \"value\":\"{EUR:5}\"} ] }",
@@ -440,6 +443,7 @@ run (void *cls,
         \"order_id\":\"11\",\
         \"refund_deadline\":\"\\/Date(0)\\/\",\
         \"pay_deadline\":\"\\/Date(99999999999)\\/\",\
+        \"fulfillment_url\": \"https://example.com/\",\
         \"amount\":\
           {\"currency\":\"EUR\",\
            \"value\":2,\

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



reply via email to

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