Replace 0 to false and 1 to true in Config:;set(DEBUG...) in majestic tests.
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user