1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[ticket/15540] Fix tests

PHPBB3-15540
This commit is contained in:
rubencm
2020-08-15 13:05:54 +00:00
parent ee9ea98a01
commit 1bc9cbefb2
17 changed files with 62 additions and 146 deletions

View File

@@ -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\backend\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.');

View File

@@ -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\backend\fulltext_mysql';
protected $search_backend = 'phpbb\search\backend\fulltext_mysql';
protected function create_search_index($backend = null)
{

View File

@@ -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\backend\fulltext_native';
protected $search_backend = 'phpbb\search\backend\fulltext_native';
}

View File

@@ -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\backend\fulltext_postgres';
protected $search_backend = 'phpbb\search\backend\fulltext_postgres';
}

View File

@@ -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\backend\fulltext_sphinx';
protected $search_backend = 'phpbb\search\backend\fulltext_sphinx';
public function test_search_backend()
{