aboutsummaryrefslogtreecommitdiff
path: root/src/lib/test_merchant_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/test_merchant_api.c')
-rw-r--r--src/lib/test_merchant_api.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c
index bb7d9e26..5499a83f 100644
--- a/src/lib/test_merchant_api.c
+++ b/src/lib/test_merchant_api.c
@@ -366,14 +366,12 @@ run (void *cls,
366 * all records to be returned; setting date as 0 lets the 366 * all records to be returned; setting date as 0 lets the
367 * interpreter set it as 'now' + one hour delta, just to 367 * interpreter set it as 'now' + one hour delta, just to
368 * make sure it surpasses the proposal's timestamp. 368 * make sure it surpasses the proposal's timestamp.
369 */ 369 */GNUNET_TIME_UNIT_ZERO_ABS,
370 GNUNET_TIME_UNIT_ZERO_ABS,
371 /** 370 /**
372 * We only expect ONE result (create-proposal-1) to be 371 * We only expect ONE result (create-proposal-1) to be
373 * included in /history response, because create-proposal-3 372 * included in /history response, because create-proposal-3
374 * did NOT go through because of double spending. 373 * did NOT go through because of double spending.
375 */ 374 */1, // nresult
376 1, // nresult
377 10, // start 375 10, // start
378 -10), // nrows 376 -10), // nrows
379 377
@@ -487,8 +485,7 @@ run (void *cls,
487 * Now we expect BOTH contracts (create-proposal-{1,2}) 485 * Now we expect BOTH contracts (create-proposal-{1,2})
488 * to be included in /history response, because 486 * to be included in /history response, because
489 * create-proposal-2 has now been correctly paid. 487 * create-proposal-2 has now been correctly paid.
490 */ 488 */2,
491 2,
492 10, 489 10,
493 -10), 490 -10),
494 TALER_TESTING_cmd_end () 491 TALER_TESTING_cmd_end ()
@@ -567,8 +564,7 @@ run (void *cls,
567 * it, and finally (4) attempt to pick up a refund 564 * it, and finally (4) attempt to pick up a refund
568 * from it without any increasing taking place 565 * from it without any increasing taking place
569 * in the first place. 566 * in the first place.
570 **/ 567 **/CMD_TRANSFER_TO_EXCHANGE ("create-reserve-unincreased-refund",
571 CMD_TRANSFER_TO_EXCHANGE ("create-reserve-unincreased-refund",
572 "EUR:5.01"), 568 "EUR:5.01"),
573 569
574 CMD_EXEC_WIREWATCH ("wirewatch-unincreased-refund"), 570 CMD_EXEC_WIREWATCH ("wirewatch-unincreased-refund"),
@@ -682,8 +678,7 @@ run (void *cls,
682 * against a reserve that does not exist. This is 678 * against a reserve that does not exist. This is
683 * implemented by passing a "tip instance" that 679 * implemented by passing a "tip instance" that
684 * specifies a reserve key that was never used to 680 * specifies a reserve key that was never used to
685 * actually create a reserve. */ 681 * actually create a reserve. */TALER_TESTING_cmd_tip_authorize_with_ec
686 TALER_TESTING_cmd_tip_authorize_with_ec
687 ("authorize-tip-null", 682 ("authorize-tip-null",
688 merchant_url_internal ("nulltip"), 683 merchant_url_internal ("nulltip"),
689 exchange_url, 684 exchange_url,
@@ -1061,6 +1056,7 @@ run (void *cls,
1061 fakebank_url); 1056 fakebank_url);
1062} 1057}
1063 1058
1059
1064int 1060int
1065main (int argc, 1061main (int argc,
1066 char *const *argv) 1062 char *const *argv)
@@ -1119,4 +1115,5 @@ main (int argc,
1119 return 0; 1115 return 0;
1120} 1116}
1121 1117
1118
1122/* end of test_merchant_api_new.c */ 1119/* end of test_merchant_api_new.c */