Fixed tests with inc Config and Registry classes. Use LOGGING in logger tests.
This commit is contained in:
@ -33,6 +33,7 @@ class FileLoggerTest extends PHPUnit_Framework_TestCase
|
||||
vfsStream::setup();
|
||||
$root = vfsStream::create(array());
|
||||
vfsStreamWrapper::setRoot($root);
|
||||
Config::set('LOGGING', 1);
|
||||
$this->conf = array('logger' => 'FileLogger', 'filepath' => vfsStream::url('root/log.txt'));
|
||||
Config::set('Logger', $this->conf);
|
||||
if ($root->hasChild('log.txt')) {
|
||||
|
Reference in New Issue
Block a user