diff options
Diffstat (limited to 'src/backenddb/test_merchantdb.c')
-rw-r--r-- | src/backenddb/test_merchantdb.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c index e9a17b34..dbec520b 100644 --- a/src/backenddb/test_merchantdb.c +++ b/src/backenddb/test_merchantdb.c @@ -1869,11 +1869,16 @@ test_lookup_payment_status (const char *instance_id, paid = false; wired = false; } - if ( (expected_paid != paid) || - (expected_wired != wired) ) + if (expected_wired != wired) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Lookup payment status failed\n"); + "Lookup payment status failed: wired status is wrong\n"); + return 1; + } + if (expected_paid != paid) + { + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Lookup payment status failed: paid status is wrong\n"); return 1; } return 0; |