summaryrefslogtreecommitdiff
path: root/sql/modules/test
diff options
context:
space:
mode:
Diffstat (limited to 'sql/modules/test')
-rw-r--r--sql/modules/test/Voucher.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/modules/test/Voucher.sql b/sql/modules/test/Voucher.sql
index d749bf09..467d3d38 100644
--- a/sql/modules/test/Voucher.sql
+++ b/sql/modules/test/Voucher.sql
@@ -26,6 +26,9 @@ values (-5, currval('batch_id_seq'), 3);
INSERT INTO voucher (trans_id, batch_id, batch_class)
values (-5, currval('batch_id_seq'), 3);
+INSERT INTO test_result(test_name, success)
+select 'Voucher Seach finds Payable Vouchers', count(*)=1
+from voucher_list( currval('batch_id_seq')::int);
INSERT INTO test_result (test_name, success)
SELECT 'partial payment support', count(*) > 1