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

SF.net SVN: ledger-smb:[2389] trunk/sql/modules/test/Company.sql



Revision: 2389
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2389&view=rev
Author:   einhverfr
Date:     2008-11-11 01:09:23 +0000 (Tue, 11 Nov 2008)

Log Message:
-----------
Test case for billing info

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

Modified: trunk/sql/modules/test/Company.sql
===================================================================
--- trunk/sql/modules/test/Company.sql	2008-11-11 00:56:12 UTC (rev 2388)
+++ trunk/sql/modules/test/Company.sql	2008-11-11 01:09:23 UTC (rev 2389)
@@ -41,6 +41,12 @@
 FROM eca__list_contacts(currval('entity_credit_account_id_seq')::int) 
 WHERE contact = 'test_c';
 
+INSERT INTO test_result(test_name, success)
+SELECT 'Company_get_billing_info working', count(*) = 1
+FROM company_get_billing_info((select max(id) from entity_credit_account))
+WHERE control_code is not null;
+
+
 SELECT * FROM test_result;
 
 


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