summaryrefslogtreecommitdiffstats
path: root/php-nrk-Predis-redis62.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-nrk-Predis-redis62.patch')
-rw-r--r--php-nrk-Predis-redis62.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/php-nrk-Predis-redis62.patch b/php-nrk-Predis-redis62.patch
deleted file mode 100644
index a0ad3aa..0000000
--- a/php-nrk-Predis-redis62.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 2f9337cb9bbebdf7334a7e58a6dc132eca013268 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Thu, 18 Mar 2021 11:08:37 +0100
-Subject: [PATCH] fix test expectation for redis 6.2
-
----
- tests/Predis/Command/ConnectionSelectTest.php | 2 +-
- tests/Predis/Command/KeyMoveTest.php | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/tests/Predis/Command/ConnectionSelectTest.php b/tests/Predis/Command/ConnectionSelectTest.php
-index ac44e64bf..f2bcadd0a 100644
---- a/tests/Predis/Command/ConnectionSelectTest.php
-+++ b/tests/Predis/Command/ConnectionSelectTest.php
-@@ -83,7 +83,7 @@ public function testThrowsExceptionOnUnexpectedDatabaseRange()
- /**
- * @group connected
- * @expectedException \Predis\Response\ServerException
-- * @expectedExceptionMessage ERR invalid DB index
-+ * @expectedExceptionMessageRegExp /ERR (invalid DB index|value is not)/
- */
- public function testThrowsExceptionOnUnexpectedDatabaseName()
- {
-diff --git a/tests/Predis/Command/KeyMoveTest.php b/tests/Predis/Command/KeyMoveTest.php
-index c47a84ca5..ee16af41a 100644
---- a/tests/Predis/Command/KeyMoveTest.php
-+++ b/tests/Predis/Command/KeyMoveTest.php
-@@ -82,7 +82,7 @@ public function testMovesKeysToDifferentDatabases()
- /**
- * @group connected
- * @expectedException \Predis\Response\ServerException
-- * @expectedExceptionMessage ERR index out of range
-+ * @expectedExceptionMessageRegEx /ERR.*out of range/
- */
- public function testThrowsExceptionOnInvalidDatabases()
- {