Replace constant DEBUG to use in Config. Remove start profiler from FrontController (moved to bootstrap).
This commit is contained in:
@ -210,9 +210,8 @@ class FrontControllerTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
private function setConstants($val = false)
|
||||
{
|
||||
if (!defined('DEBUG')) {
|
||||
define('DEBUG', $val);
|
||||
}
|
||||
|
||||
Config::set('DEBUG', $val);
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
|
Reference in New Issue
Block a user