Replace constant DEBUG to use in Config. Remove start profiler from FrontController (moved to bootstrap).
This commit is contained in:
@ -43,9 +43,8 @@ class CliLoggerTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testLog()
|
||||
{
|
||||
if(!defined('DEBUG')) {
|
||||
define('DEBUG', true);
|
||||
}
|
||||
|
||||
Config::set('DEBUG', 1);
|
||||
$logger = Logger::getInstance();
|
||||
ob_start();
|
||||
$logger->setPid(123);
|
||||
|
Reference in New Issue
Block a user