Move the test time limit code into Unit_Test since some parts of the

code (like ORM_MPTT) mess with the time limit which interferes with
the overall time limit set in Gallery_Unit_Test_Controller.
This commit is contained in:
Bharat Mediratta
2010-12-15 11:17:22 -08:00
parent 79740a2c77
commit 587284ab38
2 changed files with 2 additions and 1 deletions
@@ -185,6 +185,8 @@ class Unit_Test_Core {
$e = null;
try {
// Enforce a time limit
set_time_limit(30);
// Run the actual test
$object->$method_name();