diff --git a/tests/Predis/Command/Redis/MOVE_Test.php b/tests/Predis/Command/Redis/MOVE_Test.php index cabb5072..a471ec1a 100644 --- a/tests/Predis/Command/Redis/MOVE_Test.php +++ b/tests/Predis/Command/Redis/MOVE_Test.php @@ -85,7 +85,7 @@ class MOVE_Test extends PredisCommandTestCase public function testThrowsExceptionOnInvalidDatabases(): void { $this->expectException('Predis\Response\ServerException'); - $this->expectExceptionMessageMatches('/ERR.*index out of range/'); + $this->expectExceptionMessageMatches('/ERR.*out of range/'); $redis = $this->getClient();