[pLog-svn] r6671 - plog/branches/lifetype-1.2/class/test/helpers

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Mon Jun 23 17:58:22 EDT 2008


Author: jondaley
Date: 2008-06-23 17:58:22 -0400 (Mon, 23 Jun 2008)
New Revision: 6671

Modified:
   plog/branches/lifetype-1.2/class/test/helpers/testtools.class.php
Log:
using die() is a bad idea, probably just about everywhere.  Tests can't clean up after themselves

Modified: plog/branches/lifetype-1.2/class/test/helpers/testtools.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/test/helpers/testtools.class.php	2008-06-23 21:57:42 UTC (rev 6670)
+++ plog/branches/lifetype-1.2/class/test/helpers/testtools.class.php	2008-06-23 21:58:22 UTC (rev 6671)
@@ -276,9 +276,8 @@
 					$comments->deleteComment( $item->getId());
 				}
 				else {
-					print("Unrecognized object of class $className" );
+					print("<br/><br/>Unrecognized object of class $className" );
 					print_r( $item );
-					die();
 				}
 			}
 		}



More information about the pLog-svn mailing list