|
|
@ -33,7 +33,7 @@ class FileLoggerTest extends PHPUnit_Framework_TestCase |
|
|
|
vfsStream::setup(); |
|
|
|
$root = vfsStream::create(array()); |
|
|
|
vfsStreamWrapper::setRoot($root); |
|
|
|
Config::set('LOGGING', 1); |
|
|
|
Config::set('LOGGING', true); |
|
|
|
$this->conf = array('logger' => 'FileLogger', 'filepath' => vfsStream::url('root/log.txt')); |
|
|
|
Config::set('Logger', $this->conf); |
|
|
|
if ($root->hasChild('log.txt')) { |
|
|
|