From aee4908d89e40f545faec619e5af45678f79366d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 12 Apr 2013 09:21:43 +0200 Subject: php-bartlett-PHP-CompatInfo: 2.15.0 --- 0030-fix-sphinx-test.patch | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 0030-fix-sphinx-test.patch (limited to '0030-fix-sphinx-test.patch') diff --git a/0030-fix-sphinx-test.patch b/0030-fix-sphinx-test.patch new file mode 100644 index 0000000..73bc64a --- /dev/null +++ b/0030-fix-sphinx-test.patch @@ -0,0 +1,29 @@ +From d75d31cc71065a6c7f44de9f029e255dce18aab9 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Fri, 12 Apr 2013 08:53:32 +0200 +Subject: [PATCH] fix sphinx reference test + +--- + tests/Reference/SphinxTest.php | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/tests/Reference/SphinxTest.php b/tests/Reference/SphinxTest.php +index d91ef30..39714bf 100644 +--- a/tests/Reference/SphinxTest.php ++++ b/tests/Reference/SphinxTest.php +@@ -42,9 +42,12 @@ protected function setUp() + { + // Constants conditionnaly exists (according to libsphinx version) + $this->optionalconstants = array( ++ 'SPH_RANK_EXPR', + 'SPH_RANK_FIELDMASK', + 'SPH_RANK_MATCHANY', + 'SPH_RANK_PROXIMITY', ++ 'SPH_RANK_SPH04', ++ 'SPH_RANK_TOTAL', + ); + $this->obj = new PHP_CompatInfo_Reference_Sphinx(); + parent::setUp(); +-- +1.8.1.5 + -- cgit