aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/search
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2013-07-06 22:55:52 +0530
committerDhruv <dhruv.goel92@gmail.com>2013-10-05 21:15:59 +0530
commita3482bded45272aa10f494e89e9e35d48ebf9e29 (patch)
treeff725691ae322275d7234d7bfc18053fca5c0bc9 /tests/functional/search
parentb31bb8653b12f984957d4c62ccf280deb1e6400e (diff)
downloadforums-a3482bded45272aa10f494e89e9e35d48ebf9e29.tar
forums-a3482bded45272aa10f494e89e9e35d48ebf9e29.tar.gz
forums-a3482bded45272aa10f494e89e9e35d48ebf9e29.tar.bz2
forums-a3482bded45272aa10f494e89e9e35d48ebf9e29.tar.xz
forums-a3482bded45272aa10f494e89e9e35d48ebf9e29.zip
[ticket/11608] remove setUp method override
PHPBB3-11608
Diffstat (limited to 'tests/functional/search')
-rw-r--r--tests/functional/search/mysql_test.php8
-rw-r--r--tests/functional/search/native_test.php8
-rw-r--r--tests/functional/search/postgres_test.php8
-rw-r--r--tests/functional/search/sphinx_test.php12
4 files changed, 4 insertions, 32 deletions
diff --git a/tests/functional/search/mysql_test.php b/tests/functional/search/mysql_test.php
index f27269d76a..a94b9a7dc5 100644
--- a/tests/functional/search/mysql_test.php
+++ b/tests/functional/search/mysql_test.php
@@ -14,11 +14,5 @@ require_once dirname(__FILE__) . '/base_test.php';
*/
class phpbb_functional_search_mysql_test extends phpbb_functional_search_base_test
{
- protected $search_backend;
-
- public function setUp()
- {
- parent::setUp();
- $this->search_backend = 'phpbb_search_fulltext_mysql';
- }
+ protected $search_backend = 'phpbb_search_fulltext_mysql';
}
diff --git a/tests/functional/search/native_test.php b/tests/functional/search/native_test.php
index d2f274e051..a442bb758a 100644
--- a/tests/functional/search/native_test.php
+++ b/tests/functional/search/native_test.php
@@ -14,11 +14,5 @@ require_once dirname(__FILE__) . '/base_test.php';
*/
class phpbb_functional_search_native_test extends phpbb_functional_search_base_test
{
- protected $search_backend;
-
- public function setUp()
- {
- parent::setUp();
- $this->search_backend = 'phpbb_search_fulltext_native';
- }
+ protected $search_backend = 'phpbb_search_fulltext_native';
}
diff --git a/tests/functional/search/postgres_test.php b/tests/functional/search/postgres_test.php
index 110360f28e..f268be1054 100644
--- a/tests/functional/search/postgres_test.php
+++ b/tests/functional/search/postgres_test.php
@@ -14,11 +14,5 @@ require_once dirname(__FILE__) . '/base_test.php';
*/
class phpbb_functional_search_postgres_test extends phpbb_functional_search_base_test
{
- protected $search_backend;
-
- public function setUp()
- {
- parent::setUp();
- $this->search_backend = 'phpbb_search_fulltext_postgres';
- }
+ protected $search_backend = 'phpbb_search_fulltext_postgres';
}
diff --git a/tests/functional/search/sphinx_test.php b/tests/functional/search/sphinx_test.php
index 048f4e491b..47ad21dfdb 100644
--- a/tests/functional/search/sphinx_test.php
+++ b/tests/functional/search/sphinx_test.php
@@ -14,15 +14,5 @@ require_once dirname(__FILE__) . '/base_test.php';
*/
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');
- }
- }
+ protected $search_backend = 'phpbb_search_fulltext_sphinx';
}