diff options
Diffstat (limited to 'tests/text_processing')
-rw-r--r-- | tests/text_processing/all_tests.php | 3 | ||||
-rw-r--r-- | tests/text_processing/make_clickable.php | 5 |
2 files changed, 1 insertions, 7 deletions
diff --git a/tests/text_processing/all_tests.php b/tests/text_processing/all_tests.php index 7bb84057a9..d53dd1127e 100644 --- a/tests/text_processing/all_tests.php +++ b/tests/text_processing/all_tests.php @@ -8,8 +8,6 @@ * */ -define('IN_PHPBB', true); - if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'phpbb_text_processing_all_tests::main'); @@ -41,4 +39,3 @@ if (PHPUnit_MAIN_METHOD == 'phpbb_text_processing_all_tests::main') { phpbb_text_processing_all_tests::main(); } -?>
\ No newline at end of file diff --git a/tests/text_processing/make_clickable.php b/tests/text_processing/make_clickable.php index 994cbd023c..25199c428a 100644 --- a/tests/text_processing/make_clickable.php +++ b/tests/text_processing/make_clickable.php @@ -8,8 +8,6 @@ * */ -define('IN_PHPBB', true); - require_once 'test_framework/framework.php'; require_once '../phpBB/includes/functions.php'; @@ -66,7 +64,7 @@ class phpbb_text_processing_make_clickable_test extends phpbb_test_case { foreach ($urls as $url => $url_type) { - $input = $prefix . $schema . $url . $suffix; + $input = $prefix . $url . $suffix; // no valid url => no change $output = $input; @@ -106,4 +104,3 @@ class phpbb_text_processing_make_clickable_test extends phpbb_test_case } } -?>
\ No newline at end of file |