summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2017-07-25 16:41:13 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2017-07-25 16:41:13 +0200
commit77fd7e50cb69a2f6cefc6477690421a895a3ea6f (patch)
tree3495552a2f2cf66aa23d0a379abb706bfc19391f /src/lib
parentb490670a8a1eec26b7988be9d5b8b9548c3eb7d1 (diff)
downloadmerchant-77fd7e50cb69a2f6cefc6477690421a895a3ea6f.tar.gz
merchant-77fd7e50cb69a2f6cefc6477690421a895a3ea6f.tar.bz2
merchant-77fd7e50cb69a2f6cefc6477690421a895a3ea6f.zip
comment
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/test_merchant_api.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c
index 3e78a0cb..644bc529 100644
--- a/src/lib/test_merchant_api.c
+++ b/src/lib/test_merchant_api.c
@@ -2734,6 +2734,11 @@ run (void *cls)
.label = "history-1",
.expected_response_code = MHD_HTTP_OK,
.details.history.date.abs_value_us = 0,
+ /**
+ * Now we expect BOTH contracts (create-proposal-{1,2})
+ * to be included in /history response, because
+ * create-proposal-2 has now been correctly paid.
+ */
.details.history.nresult = 2,
.details.history.start = 10,
.details.history.nrows = 10