Fixed tests with inc Config and Registry classes. Use LOGGING in logger tests.
This commit is contained in:
@ -44,7 +44,8 @@ class CliLoggerTest extends PHPUnit_Framework_TestCase
|
||||
public function testLog()
|
||||
{
|
||||
|
||||
Config::set('DEBUG', 1);
|
||||
Config::set('LOGGING', 1);
|
||||
Config::set('Logger', array('logger' => 'CliLogger'));
|
||||
$logger = Logger::getInstance();
|
||||
ob_start();
|
||||
$logger->setPid(123);
|
||||
|
Reference in New Issue
Block a user