mirror of
https://github.com/predis/predis.git
synced 2026-09-11 10:57:00 +00:00
fix for Redis 6 error message
This commit is contained in:
@@ -87,7 +87,7 @@ class SELECT_Test extends PredisCommandTestCase
|
||||
public function testThrowsExceptionOnUnexpectedDatabaseName(): void
|
||||
{
|
||||
$this->expectException('Predis\Response\ServerException');
|
||||
$this->expectExceptionMessage('ERR invalid DB index');
|
||||
$this->expectExceptionMessageMatches('/ERR.*(invalid DB index|value is not an integer or out of range)/');
|
||||
|
||||
$redis = $this->getClient();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user