Trigger double(-successful) refund.

This commit is contained in:
Marcello Stanisci 2018-05-17 15:35:45 +02:00
parent c0c5bd3ba7
commit 5e1178a74b
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
2 changed files with 7 additions and 0 deletions

View File

@ -496,6 +496,10 @@ run (void *cls,
("refund-ok", MHD_HTTP_OK,
"EUR:5", "EUR:0.01", "deposit-refund-1"),
TALER_TESTING_cmd_refund
("refund-ok-double", MHD_HTTP_OK,
"EUR:5", "EUR:0.01", "deposit-refund-1"),
/**
* Spend 4.99 EUR of the refunded 4.99 EUR coin (1ct gone
* due to refund) (merchant would receive EUR:4.98 due to

View File

@ -303,6 +303,9 @@ run (void *cls,
"EUR:0.000001",
"deposit-refund-1"),
/* Last CMD be "money gone". Do
* aggregate before exec'ing it (!). */
TALER_TESTING_cmd_end ()
};