diff --git a/src/tests/_support/bootstrap.php b/src/tests/_support/bootstrap.php index d32b9fa..af66237 100644 --- a/src/tests/_support/bootstrap.php +++ b/src/tests/_support/bootstrap.php @@ -26,6 +26,15 @@ define('PROJECTSUPPORTPATH', realpath(__DIR__) . DIRECTORY_SEPARATOR); define('TESTPATH', realpath(PROJECTSUPPORTPATH . '../') . DIRECTORY_SEPARATOR); +// Let's see if an app/Common.php file exists +if (file_exists(APPPATH . 'Common.php')) +{ + require_once APPPATH . 'Common.php'; +} + +// Require system/Common.php +require_once SYSTEMPATH . 'Common.php'; + // Set environment values that would otherwise stop the framework from functioning during tests. if (! isset($_SERVER['app.baseURL'])) {