diff options
author | rxu <rxu@mail.ru> | 2017-08-12 17:48:47 +0700 |
---|---|---|
committer | rxu <rxu@mail.ru> | 2017-08-12 17:48:47 +0700 |
commit | a86cff313fd573745c96d822ce6ac0b83d01a8bb (patch) | |
tree | 8d9d63e792f5e08f1e426598002abed66c09ce0d /tests/text_processing/generate_text_for_display_test.php | |
parent | 1d808931f687b0307127d6f8165c9c75956c8e20 (diff) | |
download | forums-a86cff313fd573745c96d822ce6ac0b83d01a8bb.tar forums-a86cff313fd573745c96d822ce6ac0b83d01a8bb.tar.gz forums-a86cff313fd573745c96d822ce6ac0b83d01a8bb.tar.bz2 forums-a86cff313fd573745c96d822ce6ac0b83d01a8bb.tar.xz forums-a86cff313fd573745c96d822ce6ac0b83d01a8bb.zip |
[ticket/15318] Fix tests
PHPBB3-15318
Diffstat (limited to 'tests/text_processing/generate_text_for_display_test.php')
-rw-r--r-- | tests/text_processing/generate_text_for_display_test.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/text_processing/generate_text_for_display_test.php b/tests/text_processing/generate_text_for_display_test.php index 9c7152a008..468c902347 100644 --- a/tests/text_processing/generate_text_for_display_test.php +++ b/tests/text_processing/generate_text_for_display_test.php @@ -29,7 +29,7 @@ class phpbb_text_processing_generate_text_for_display_test extends phpbb_test_ca */ public function test_legacy($original, $expected, $uid = '', $bitfield = '', $flags = 0, $censor_text = true) { - global $cache, $user; + global $auth, $cache, $config, $user; global $phpbb_root_path, $phpEx; @@ -63,7 +63,7 @@ class phpbb_text_processing_generate_text_for_display_test extends phpbb_test_ca public function test_censor_is_restored() { - global $phpbb_container; + global $auth, $user, $config, $phpbb_container; $phpbb_container = new phpbb_mock_container_builder; @@ -109,7 +109,7 @@ class phpbb_text_processing_generate_text_for_display_test extends phpbb_test_ca */ public function test_text_formatter($original, $expected, $censor_text = true, $setup = null) { - global $phpbb_container; + global $auth, $user, $config, $phpbb_container; $phpbb_container = new phpbb_mock_container_builder; |