phpredis has some methods named in lowercase, e.g. zinterstore. Code changed to reflect this
This commit is contained in:
@ -103,7 +103,7 @@ class RedisDebugTest extends PHPUnit_Framework_TestCase
|
||||
$mock = $this->getMock('Redis', array('connect'));
|
||||
$redisDebug = new RedisDebug($mock);
|
||||
|
||||
$this->setExpectedException('GeneralException');
|
||||
$this->setExpectedException('PHPUnit_Framework_Error', 'call_user_func_array() expects parameter 1 to be a valid callback, class \'Mock_Redis_');
|
||||
|
||||
$this->assertNull($redisDebug->nothing('localhost', 4322));
|
||||
}
|
||||
|
Reference in New Issue
Block a user