From 2b81581f80916f2efda9dbf527a589148c47d01c Mon Sep 17 00:00:00 2001 From: Vladyslav Pozdniakov Date: Tue, 30 Jul 2024 16:25:37 +0300 Subject: [PATCH] feat: update predis version --- composer.json | 2 +- tests/Context/RedisFixturesContextTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 6c3f425..6ac92a6 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ "require": { "php": "^7.4 || ^8.0", "behat/behat": "^3.0", - "predis/predis": "^1.0", + "predis/predis": "^1.0||^2.0", "symfony/yaml": "^4.3 || ^5.0 || ^6.0 || ^7.0", "symfony/dependency-injection": "^4.3 || ^5.0 || ^6.0 || ^7.0", "symfony/http-kernel": "^4.3 || ^5.0 || ^6.0 || ^7.0" diff --git a/tests/Context/RedisFixturesContextTest.php b/tests/Context/RedisFixturesContextTest.php index ae87649..184b543 100644 --- a/tests/Context/RedisFixturesContextTest.php +++ b/tests/Context/RedisFixturesContextTest.php @@ -14,7 +14,7 @@ class RedisFixturesContextTest extends TestCase public function testServiceNotFound(): void { $this->expectException(InvalidArgumentException::class); - $this->expectErrorMessage('The "Test" redis fixture not found.'); + $this->expectExceptionMessage('The "Test" redis fixture not found.'); $redisFixtureContext = new RedisFixturesContext(new Client());