Replace constant DEBUG to use in Config. Remove start profiler from FrontController (moved to bootstrap).
This commit is contained in:
@ -107,9 +107,7 @@ class RedisManagerTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testConnectWithDebug()
|
||||
{
|
||||
if (!defined('DEBUG')) {
|
||||
define('DEBUG', true);
|
||||
}
|
||||
Config::set('DEBUG', 1);
|
||||
$this->getMock('RedisDebug');
|
||||
|
||||
Config::set('Redis', array('new' => array('host' => true, 'port' => 2023, 'database' => true)));
|
||||
|
Reference in New Issue
Block a user