aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_reparser
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2016-03-31 11:06:47 -0700
committerMatt Friedman <maf675@gmail.com>2016-03-31 11:06:47 -0700
commit14e8113fcf01be7dbdb080458fcbf4e75668cc1a (patch)
treef09afcdafc012ba293501856f31cfa8b9c46ee14 /tests/text_reparser
parentc9ffef2c57c44250c0c1f1f49f84c8f70e26c8d0 (diff)
downloadforums-14e8113fcf01be7dbdb080458fcbf4e75668cc1a.tar
forums-14e8113fcf01be7dbdb080458fcbf4e75668cc1a.tar.gz
forums-14e8113fcf01be7dbdb080458fcbf4e75668cc1a.tar.bz2
forums-14e8113fcf01be7dbdb080458fcbf4e75668cc1a.tar.xz
forums-14e8113fcf01be7dbdb080458fcbf4e75668cc1a.zip
[ticket/14576] Move common required files to bootstrap
PHPBB3-14576
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