[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: First steps of #508
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: First steps of #5087. |
Date: |
Tue, 04 Jul 2017 15:12:39 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 8ef723b First steps of #5087.
8ef723b is described below
commit 8ef723b60e62c978916c6c46005bee38861d2911
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Jul 4 15:12:24 2017 +0200
First steps of #5087.
---
src/lib/test_merchant_api.c | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c
index 086daea..0f937c8 100644
--- a/src/lib/test_merchant_api.c
+++ b/src/lib/test_merchant_api.c
@@ -654,6 +654,23 @@ struct Command
*/
struct TALER_MERCHANT_RefundLookupOperation *rlo;
+ /**
+ * Used to retrieve the asked refund amount.
+ * This information helps the callback to mock a GET /refund
+ * response and match it against what the backend actually
+ * responded.
+ */
+ char *increase_ref;
+
+ /**
+ * Used to retrieve the number and denomination of coins
+ * used to pay for the related contract.
+ * This information helps the callback to mock a GET /refund
+ * response and match it against what the backend actually
+ * responded.
+ */
+ char *pay_ref;
+
} refund_lookup;
} details;
@@ -2569,7 +2586,9 @@ run (void *cls)
},
{ .oc = OC_REFUND_LOOKUP,
.label = "refund-lookup-1",
- .details.refund_lookup.order_id = "1"
+ .details.refund_lookup.order_id = "1",
+ .details.refund_lookup.increase_ref = "refund-increase-1",
+ .details.refund_lookup.pay_ref = "deposit-simple-1"
},
/* end of testcase */
{ .oc = OC_END }
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant] branch master updated: First steps of #5087.,
gnunet <=