diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-26 22:39:46 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-26 22:39:46 +0100 |
commit | 159591d0be133ac8d5537ef4a8ae9e55aa813443 (patch) | |
tree | 8ba20a4305d9465ee4441bfc9449678082dcd904 /src/backenddb/test_merchantdb.c | |
parent | e3c4f5536ea9a17e26ce73a2c6171cbb6caf3d19 (diff) |
work on #8061, needs more testing
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; |