[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[2407] trunk/sql/modules/test/Payment.sql
- Subject: SF.net SVN: ledger-smb:[2407] trunk/sql/modules/test/Payment.sql
- From: ..hidden..
- Date: Wed, 19 Nov 2008 23:01:08 +0000
Revision: 2407
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2407&view=rev
Author: einhverfr
Date: 2008-11-19 23:01:08 +0000 (Wed, 19 Nov 2008)
Log Message:
-----------
Re-adding rollback on to test case, fine tuning payment tests slightly. All tests still pass properly.
Modified Paths:
--------------
trunk/sql/modules/test/Payment.sql
Modified: trunk/sql/modules/test/Payment.sql
===================================================================
--- trunk/sql/modules/test/Payment.sql 2008-11-19 20:28:51 UTC (rev 2406)
+++ trunk/sql/modules/test/Payment.sql 2008-11-19 23:01:08 UTC (rev 2407)
@@ -85,9 +85,9 @@
(SELECT test_convert_array(invoices) LIKE '%::test_show2::%'
FROM
(
-SELECT invoices FROM payment_get_all_contact_invoices(1, NULL, 'USD', NULL, NULL, currval('batch_id_seq')::int, '00001', 'TEST1')
+SELECT invoices FROM payment_get_all_contact_invoices(1, NULL, 'USD', NULL, NULL, NULL, '00001', 'TEST1')
)p));
-SELECT invoices FROM payment_get_all_contact_invoices(1, NULL, 'USD', NULL, NULL, currval('batch_id_seq')::int, '00001', 'TEST1');
+SELECT invoices FROM payment_get_all_contact_invoices(1, NULL, 'USD', NULL, NULL, NULL, '00002', 'TEST1');
INSERT INTO test_result(test_name, success)
VALUES ('Non-Batch Voucher Not In Payment Selection',
@@ -102,4 +102,4 @@
|| (select count(*) from test_result where success is not true)
|| ' failed' as message;
--- ROLLBACK;
+ ROLLBACK;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.