mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-29 11:10:18 +02:00
[ticket/16935] Add sphinx tests
PHPBB3-16935
This commit is contained in:
@@ -50,6 +50,12 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
|
||||
{
|
||||
$values["config[search_type]"] = $this->search_backend;
|
||||
|
||||
if (strpos($this->search_backend, 'fulltext_sphinx'))
|
||||
{
|
||||
// Set board Sphinx id in according to respective setup-sphinx.sh $ID value
|
||||
$values["config[fulltext_sphinx_id]"] = 'saw9zf2fdhp1goue';
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
$form->setValues($values);
|
||||
@@ -62,6 +68,7 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
|
||||
}
|
||||
|
||||
$crawler = self::submit($form);
|
||||
$this->purge_cache();
|
||||
|
||||
$form = $crawler->selectButton('Yes')->form();
|
||||
$values = $form->getValues();
|
||||
|
Reference in New Issue
Block a user