Replace 0 to false and 1 to true in Config:;set(DEBUG...) in majestic tests.

This commit is contained in:
Alexander Demidov
2012-07-09 13:47:32 +04:00
parent dc60d703bf
commit b6a2c4dbc3
18 changed files with 101 additions and 101 deletions

View File

@ -59,7 +59,7 @@ class RedisDebugTest extends PHPUnit_Framework_TestCase
*/
public function testCallSimpleParams()
{
Config::set('DEBUG', 1);
Config::set('DEBUG', true);
$mock = $this->getMock('Redis', array('connect'));
$mock->expects($this->once())
@ -77,7 +77,7 @@ class RedisDebugTest extends PHPUnit_Framework_TestCase
*/
public function testCallArrayParam()
{
Config::set('DEBUG', 1);
Config::set('DEBUG', true);
$mock = $this->getMock('Redis', array('connect'));
$mock->expects($this->once())
@ -95,7 +95,7 @@ class RedisDebugTest extends PHPUnit_Framework_TestCase
*/
public function testCallUndefinedMethod()
{
Config::set('DEBUG', 1);
Config::set('DEBUG', true);
$mock = $this->getMock('Redis', array('connect'));
$redisDebug = new RedisDebug($mock);