aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_reparser
diff options
context:
space:
mode:
Diffstat (limited to 'tests/text_reparser')
-rw-r--r--tests/text_reparser/base_test.php3
-rw-r--r--tests/text_reparser/plugins/contact_admin_info_test.php3
-rw-r--r--tests/text_reparser/plugins/poll_option_test.php3
-rw-r--r--tests/text_reparser/plugins/test_row_based_plugin.php3
4 files changed, 4 insertions, 8 deletions
diff --git a/tests/text_reparser/base_test.php b/tests/text_reparser/base_test.php
index 2223ead9a6..af2d56ea51 100644
--- a/tests/text_reparser/base_test.php
+++ b/tests/text_reparser/base_test.php
@@ -10,8 +10,7 @@
* the docs/CREDITS.txt file.
*
*/
-require_once __DIR__ . '/../../phpBB/includes/functions.php';
-require_once __DIR__ . '/../../phpBB/includes/functions_content.php';
+
require_once __DIR__ . '/../test_framework/phpbb_database_test_case.php';
class phpbb_textreparser_base_test extends phpbb_database_test_case
diff --git a/tests/text_reparser/plugins/contact_admin_info_test.php b/tests/text_reparser/plugins/contact_admin_info_test.php
index 1dc03834b6..757b02be39 100644
--- a/tests/text_reparser/plugins/contact_admin_info_test.php
+++ b/tests/text_reparser/plugins/contact_admin_info_test.php
@@ -10,8 +10,7 @@
* the docs/CREDITS.txt file.
*
*/
-require_once __DIR__ . '/../../../phpBB/includes/functions.php';
-require_once __DIR__ . '/../../../phpBB/includes/functions_content.php';
+
require_once __DIR__ . '/../../test_framework/phpbb_database_test_case.php';
class phpbb_textreparser_contact_admin_info_test extends phpbb_database_test_case
diff --git a/tests/text_reparser/plugins/poll_option_test.php b/tests/text_reparser/plugins/poll_option_test.php
index dfa3a030ed..177faac51d 100644
--- a/tests/text_reparser/plugins/poll_option_test.php
+++ b/tests/text_reparser/plugins/poll_option_test.php
@@ -10,8 +10,7 @@
* the docs/CREDITS.txt file.
*
*/
-require_once __DIR__ . '/../../../phpBB/includes/functions.php';
-require_once __DIR__ . '/../../../phpBB/includes/functions_content.php';
+
require_once __DIR__ . '/../../test_framework/phpbb_database_test_case.php';
class phpbb_textreparser_poll_option_test extends phpbb_database_test_case
diff --git a/tests/text_reparser/plugins/test_row_based_plugin.php b/tests/text_reparser/plugins/test_row_based_plugin.php
index e8218dfdd6..3e9ff09448 100644
--- a/tests/text_reparser/plugins/test_row_based_plugin.php
+++ b/tests/text_reparser/plugins/test_row_based_plugin.php
@@ -10,8 +10,7 @@
* the docs/CREDITS.txt file.
*
*/
-require_once __DIR__ . '/../../../phpBB/includes/functions.php';
-require_once __DIR__ . '/../../../phpBB/includes/functions_content.php';
+
require_once __DIR__ . '/../../test_framework/phpbb_database_test_case.php';
abstract class phpbb_textreparser_test_row_based_plugin extends phpbb_database_test_case