fix test when using Redis 6

This commit is contained in:
Till Krüss
2021-04-04 10:11:29 -07:00
committed by GitHub
parent aa436263f8
commit aa0c30809b
+1 -1
View File
@@ -85,7 +85,7 @@ class MOVE_Test extends PredisCommandTestCase
public function testThrowsExceptionOnInvalidDatabases(): void
{
$this->expectException('Predis\Response\ServerException');
$this->expectExceptionMessage('ERR index out of range');
$this->expectExceptionMessageMatches('/ERR.*index out of range/');
$redis = $this->getClient();