fix tests, list of allowed commands have changed (redis 3.0.6)

This commit is contained in:
Remi Collet
2015-12-28 10:34:24 +01:00
committed by Daniele Alessandri
parent 8235228acd
commit 57a7d5d3e6
2 changed files with 2 additions and 2 deletions
@@ -145,7 +145,7 @@ class PubSubSubscribeByPatternTest extends PredisCommandTestCase
/**
* @group connected
* @expectedException \Predis\Response\ServerException
* @expectedExceptionMessage ERR only (P)SUBSCRIBE / (P)UNSUBSCRIBE / QUIT allowed in this context
* @expectedExceptionMessageRegExp /ERR only .* allowed in this context/
*/
public function testCannotSendOtherCommandsAfterPsubscribe()
{
+1 -1
View File
@@ -145,7 +145,7 @@ class PubSubSubscribeTest extends PredisCommandTestCase
/**
* @group connected
* @expectedException \Predis\Response\ServerException
* @expectedExceptionMessage ERR only (P)SUBSCRIBE / (P)UNSUBSCRIBE / QUIT allowed in this context
* @expectedExceptionMessageRegExp /ERR only .* allowed in this context/
*/
public function testCannotSendOtherCommandsAfterSubscribe()
{