mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-23 07:15:50 -04:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user