[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[2586] trunk/sql/modules/test/Payment.sql



Revision: 2586
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2586&view=rev
Author:   einhverfr
Date:     2009-05-05 17:15:13 +0000 (Tue, 05 May 2009)

Log Message:
-----------
Fixed test cases not to reuse batch control codes

Modified Paths:
--------------
    trunk/sql/modules/test/Payment.sql

Modified: trunk/sql/modules/test/Payment.sql
===================================================================
--- trunk/sql/modules/test/Payment.sql	2009-05-01 17:34:40 UTC (rev 2585)
+++ trunk/sql/modules/test/Payment.sql	2009-05-05 17:15:13 UTC (rev 2586)
@@ -56,7 +56,7 @@
 VALUES (currval('id'), 1, currval('batch_id_seq'));
 
 INSERT INTO test_result(test_name, success)
-SELECT 'Payment Batch created', (SELECT batch_create('test', 'test', 'ap', now()::date)) IS NOT NULL;
+SELECT 'Payment Batch created', (SELECT batch_create('test2', 'test2', 'ap', now()::date)) IS NOT NULL;
 INSERT INTO ap (invnumber, entity_credit_account, approved, amount, netamount, curr, transdate, paid)
 VALUES ('test_show2', -101, true, 100000, 100000, 'USD', now()::date, 0);
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.