mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15540] Refactor search backend classes to Symfony services
PHPBB3-15540
This commit is contained in:
@@ -38,7 +38,7 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
|
||||
$this->login();
|
||||
$this->admin_login();
|
||||
|
||||
$this->create_search_index('\phpbb\search\fulltext_native');
|
||||
$this->create_search_index('\phpbb\search\backend\fulltext_native');
|
||||
|
||||
$post = $this->create_topic(2, 'Test Topic 1 foosubject', 'This is a test topic posted by the barsearch testing framework.');
|
||||
|
||||
|
@@ -18,7 +18,7 @@ require_once __DIR__ . '/base.php';
|
||||
*/
|
||||
class phpbb_functional_search_mysql_test extends phpbb_functional_search_base
|
||||
{
|
||||
protected $search_backend = '\phpbb\search\fulltext_mysql';
|
||||
protected $search_backend = '\phpbb\search\backend\fulltext_mysql';
|
||||
|
||||
protected function create_search_index($backend = null)
|
||||
{
|
||||
|
@@ -18,5 +18,5 @@ require_once __DIR__ . '/base.php';
|
||||
*/
|
||||
class phpbb_functional_search_native_test extends phpbb_functional_search_base
|
||||
{
|
||||
protected $search_backend = '\phpbb\search\fulltext_native';
|
||||
protected $search_backend = '\phpbb\search\backend\fulltext_native';
|
||||
}
|
||||
|
@@ -18,6 +18,6 @@ require_once __DIR__ . '/base.php';
|
||||
*/
|
||||
class phpbb_functional_search_postgres_test extends phpbb_functional_search_base
|
||||
{
|
||||
protected $search_backend = '\phpbb\search\fulltext_postgres';
|
||||
protected $search_backend = '\phpbb\search\backend\fulltext_postgres';
|
||||
|
||||
}
|
||||
|
@@ -18,7 +18,7 @@ require_once __DIR__ . '/base.php';
|
||||
*/
|
||||
class phpbb_functional_search_sphinx_test extends phpbb_functional_search_base
|
||||
{
|
||||
protected $search_backend = '\phpbb\search\fulltext_sphinx';
|
||||
protected $search_backend = '\phpbb\search\backend\fulltext_sphinx';
|
||||
|
||||
public function test_search_backend()
|
||||
{
|
||||
|
Reference in New Issue
Block a user