diff --git a/tests/logger/CliLoggerTest.php b/tests/logger/CliLoggerTest.php index ae6fa45..8074724 100644 --- a/tests/logger/CliLoggerTest.php +++ b/tests/logger/CliLoggerTest.php @@ -44,7 +44,7 @@ class CliLoggerTest extends PHPUnit_Framework_TestCase public function testLog() { - Config::set('LOGGING', 1); + Config::set('LOGGING', true); Config::set('Logger', array('logger' => 'CliLogger')); $logger = Logger::getInstance(); ob_start(); diff --git a/tests/logger/FileLoggerTest.php b/tests/logger/FileLoggerTest.php index 12c905f..35a4df9 100644 --- a/tests/logger/FileLoggerTest.php +++ b/tests/logger/FileLoggerTest.php @@ -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')) {