mirror of
https://github.com/predis/predis.git
synced 2026-10-08 21:06:44 +00:00
Fix and reword some exception messages.
This commit is contained in:
@@ -149,7 +149,7 @@ abstract class PredisProfileTestCase extends PredisTestCase
|
||||
/**
|
||||
* @group disconnected
|
||||
* @expectedException InvalidArgumentException
|
||||
* @expectedExceptionMessage Cannot register 'stdClass' as it is not a valid Redis command
|
||||
* @expectedExceptionMessage The class 'stdClass' is not a valid command class.
|
||||
*/
|
||||
public function testDefineInvalidCommand()
|
||||
{
|
||||
@@ -188,7 +188,7 @@ abstract class PredisProfileTestCase extends PredisTestCase
|
||||
/**
|
||||
* @group disconnected
|
||||
* @expectedException Predis\ClientException
|
||||
* @expectedExceptionMessage 'UNKNOWN' is not a registered Redis command
|
||||
* @expectedExceptionMessage Command 'UNKNOWN' is not a registered Redis command.
|
||||
*/
|
||||
public function testCreateUndefinedCommand()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user