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

SF.net SVN: ledger-smb:[3539] trunk/t



Revision: 3539
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3539&view=rev
Author:   einhverfr
Date:     2011-07-16 19:35:22 +0000 (Sat, 16 Jul 2011)

Log Message:
-----------
Correcting template test case for failure due to error message change

Modified Paths:
--------------
    trunk/t/04-template-handling.t
    trunk/t/98-pod-coverage.t

Modified: trunk/t/04-template-handling.t
===================================================================
--- trunk/t/04-template-handling.t	2011-07-16 06:03:48 UTC (rev 3538)
+++ trunk/t/04-template-handling.t	2011-07-16 19:35:22 UTC (rev 3539)
@@ -192,8 +192,9 @@
 @r = trap{AM->load_template($myconfig, $form)};
 if ( $expStackTrace == 0 )
 {
-    is($trap->die, "Error: t/data/04-not-there.txt : No such file or directory\n",
-        'AM, load_template: Die on non-existent file');
+    is($trap->die, 'Error: Template not found.  
+         Perhaps you meant to edit the default template instead?
+');
 }
 else
 {   

Modified: trunk/t/98-pod-coverage.t
===================================================================
--- trunk/t/98-pod-coverage.t	2011-07-16 06:03:48 UTC (rev 3538)
+++ trunk/t/98-pod-coverage.t	2011-07-16 19:35:22 UTC (rev 3539)
@@ -30,3 +30,5 @@
 pod_coverage_ok("LedgerSMB::Template::TXT");
 pod_coverage_ok("LedgerSMB::Template::XLS");
 pod_coverage_ok("LedgerSMB::User");
+pod_coverage_ok("LedgerSMB::DBObject::Company");
+pod_coverage_ok("LedgerSMB::Date");


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