Replace values 1 to (bool)true in Config::set(PROFILER...) in majestic tests.

This commit is contained in:
Alexander Demidov
2012-07-09 13:49:11 +04:00
parent b6a2c4dbc3
commit a0010c3706
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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')) {