mirror of
https://github.com/predis/predis.git
synced 2026-10-08 04:46:38 +00:00
Create the Predis\Response namespace.
All of the response interface, classes and exceptions have been moved into this namespace.
This commit is contained in:
@@ -110,7 +110,7 @@ class StringSetExpireTest extends CommandTestCase
|
||||
|
||||
/**
|
||||
* @group connected
|
||||
* @expectedException Predis\ServerException
|
||||
* @expectedException Predis\Response\ServerException
|
||||
* @expectedExceptionMessage ERR value is not an integer or out of range
|
||||
*/
|
||||
public function testThrowsExceptionOnNonIntegerTTL()
|
||||
@@ -120,7 +120,7 @@ class StringSetExpireTest extends CommandTestCase
|
||||
|
||||
/**
|
||||
* @group connected
|
||||
* @expectedException Predis\ServerException
|
||||
* @expectedException Predis\Response\ServerException
|
||||
* @expectedExceptionMessage ERR invalid expire time in SETEX
|
||||
*/
|
||||
public function testThrowsExceptionOnZeroTTL()
|
||||
@@ -130,7 +130,7 @@ class StringSetExpireTest extends CommandTestCase
|
||||
|
||||
/**
|
||||
* @group connected
|
||||
* @expectedException Predis\ServerException
|
||||
* @expectedException Predis\Response\ServerException
|
||||
* @expectedExceptionMessage ERR invalid expire time in SETEX
|
||||
*/
|
||||
public function testThrowsExceptionOnNegativeTTL()
|
||||
|
||||
Reference in New Issue
Block a user