mirror of
https://github.com/predis/predis.git
synced 2026-08-28 03:02:04 +00:00
Tests for Predis\ResponseQueued.
This commit is contained in:
@@ -121,5 +121,14 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase {
|
||||
$this->assertTrue($profile->supportsCommand($cmdId));
|
||||
$this->assertType($cmdClass, $profile->createCommand($cmdId));
|
||||
}
|
||||
|
||||
|
||||
/* ResponseQueued */
|
||||
|
||||
function testResponseQueued() {
|
||||
$response = new \Predis\ResponseQueued();
|
||||
$this->assertTrue($response->queued);
|
||||
$this->assertEquals(\Predis\ResponseReader::QUEUED, (string)$response);
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user