aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_formatter
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_formatter
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_formatter')
-rw-r--r--tests/text_formatter/s9e/default_formatting_test.php2
-rw-r--r--tests/text_formatter/s9e/factory_test.php3
-rw-r--r--tests/text_formatter/s9e/parser_test.php2
-rw-r--r--tests/text_formatter/s9e/renderer_test.php2
-rw-r--r--tests/text_formatter/s9e/utils_test.php3
5 files changed, 1 insertions, 11 deletions
diff --git a/tests/text_formatter/s9e/default_formatting_test.php b/tests/text_formatter/s9e/default_formatting_test.php
index 1f7df15434..a41e5da507 100644
--- a/tests/text_formatter/s9e/default_formatting_test.php
+++ b/tests/text_formatter/s9e/default_formatting_test.php
@@ -10,8 +10,6 @@
* the docs/CREDITS.txt file.
*
*/
-require_once __DIR__ . '/../../../phpBB/includes/functions.php';
-require_once __DIR__ . '/../../../phpBB/includes/functions_content.php';
class phpbb_textformatter_s9e_default_formatting_test extends phpbb_test_case
{
diff --git a/tests/text_formatter/s9e/factory_test.php b/tests/text_formatter/s9e/factory_test.php
index 8f8ec7ebc7..e74337decc 100644
--- a/tests/text_formatter/s9e/factory_test.php
+++ b/tests/text_formatter/s9e/factory_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_textformatter_s9e_factory_test extends phpbb_database_test_case
diff --git a/tests/text_formatter/s9e/parser_test.php b/tests/text_formatter/s9e/parser_test.php
index 3b72e713e1..4b9bbf9bb2 100644
--- a/tests/text_formatter/s9e/parser_test.php
+++ b/tests/text_formatter/s9e/parser_test.php
@@ -10,8 +10,6 @@
* the docs/CREDITS.txt file.
*
*/
-require_once __DIR__ . '/../../../phpBB/includes/functions.php';
-require_once __DIR__ . '/../../../phpBB/includes/functions_content.php';
class phpbb_textformatter_s9e_parser_test extends phpbb_test_case
{
diff --git a/tests/text_formatter/s9e/renderer_test.php b/tests/text_formatter/s9e/renderer_test.php
index ad5bfa78fc..2b034259c9 100644
--- a/tests/text_formatter/s9e/renderer_test.php
+++ b/tests/text_formatter/s9e/renderer_test.php
@@ -10,8 +10,6 @@
* the docs/CREDITS.txt file.
*
*/
-require_once __DIR__ . '/../../../phpBB/includes/functions.php';
-require_once __DIR__ . '/../../../phpBB/includes/functions_content.php';
class phpbb_textformatter_s9e_renderer_test extends phpbb_test_case
{
diff --git a/tests/text_formatter/s9e/utils_test.php b/tests/text_formatter/s9e/utils_test.php
index dade259790..719d3cda88 100644
--- a/tests/text_formatter/s9e/utils_test.php
+++ b/tests/text_formatter/s9e/utils_test.php
@@ -11,9 +11,6 @@
*
*/
-require_once __DIR__ . '/../../../phpBB/includes/functions.php';
-require_once __DIR__ . '/../../../phpBB/includes/functions_content.php';
-
class phpbb_textformatter_s9e_utils_test extends phpbb_test_case
{
/**