summaryrefslogtreecommitdiffstats
path: root/0030-fix-sphinx-test.patch
blob: 73bc64a55f0e200764900b43231d0fc51dc09b18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From d75d31cc71065a6c7f44de9f029e255dce18aab9 Mon Sep 17 00:00:00 2001
From: Remi Collet <fedora@famillecollet.com>
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