mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
[ticket/11608] Set sphinx id from test_config file for tests
PHPBB3-11608
This commit is contained in:
parent
75d16da9fa
commit
e1030d3670
2 changed files with 9 additions and 1 deletions
|
@ -20,6 +20,9 @@ class phpbb_functional_search_sphinx_test extends phpbb_functional_search_test
|
|||
{
|
||||
parent::setUp();
|
||||
$this->search_backend = 'phpbb_search_fulltext_sphinx';
|
||||
$this->markTestIncomplete('Sphinx search not running for the test board');
|
||||
if (!isset($config['fulltext_sphinx_id']))
|
||||
{
|
||||
$this->markTestIncomplete('Sphinx search not running for the test board');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -158,6 +158,11 @@ class phpbb_test_case_helpers
|
|||
{
|
||||
$config['redis_port'] = $phpbb_redis_port;
|
||||
}
|
||||
|
||||
if (isset($fulltext_sphinx_id))
|
||||
{
|
||||
$config['fulltext_sphinx_id'] = $fulltext_sphinx_id;
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($_SERVER['PHPBB_TEST_DBMS']))
|
||||
|
|
Loading…
Add table
Reference in a new issue