Fix and reword some exception messages.

This commit is contained in:
Daniele Alessandri
2013-12-16 13:17:45 +01:00
parent 43f278fb71
commit 0f34f41ccf
70 changed files with 172 additions and 180 deletions
+2 -2
View File
@@ -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()
{