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
@@ -24,7 +24,7 @@ class ConsumerTest extends PredisTestCase
/**
* @group disconnected
* @expectedException Predis\NotSupportedException
* @expectedExceptionMessage The current profile does not support PUB/SUB related commands
* @expectedExceptionMessage The current profile does not support PUB/SUB related commands.
*/
public function testPubSubConsumerRequirePubSubRelatedCommand()
{
@@ -40,7 +40,7 @@ class ConsumerTest extends PredisTestCase
/**
* @group disconnected
* @expectedException Predis\NotSupportedException
* @expectedExceptionMessage Cannot initialize a PUB/SUB consumer when using aggregate connections
* @expectedExceptionMessage Cannot initialize a PUB/SUB consumer over aggregate connections.
*/
public function testPubSubConsumerDoesNotWorkOnClusters()
{