mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 03:04:09 +02:00
[ticket/11608] add search functional tests to search subfolder
PHPBB3-11608
This commit is contained in:
28
tests/functional/search/sphinx_test.php
Normal file
28
tests/functional/search/sphinx_test.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package testing
|
||||
* @copyright (c) 2013 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
require_once dirname(__FILE__) . '/base_test.php';
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
*/
|
||||
class phpbb_functional_search_sphinx_test extends phpbb_functional_search_base_test
|
||||
{
|
||||
protected $search_backend;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
$this->search_backend = 'phpbb_search_fulltext_sphinx';
|
||||
if (!isset($config['fulltext_sphinx_id']))
|
||||
{
|
||||
$this->markTestIncomplete('Sphinx search not running for the test board');
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user