aboutsummaryrefslogtreecommitdiffstats
path: root/tests/regex/censor_test.php
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-05-07 16:01:42 +0200
committerJoshyPHP <s9e.dev@gmail.com>2015-05-11 20:43:47 +0200
commit8b7a42f338ca7315aae11d25e7adb89aaefe7849 (patch)
tree7d22db062cc9cb4b8f69c71c4700337fd62838ca /tests/regex/censor_test.php
parent98db63e8ccf7effd4213f3ef2b1152c5f6ef6295 (diff)
downloadforums-8b7a42f338ca7315aae11d25e7adb89aaefe7849.tar
forums-8b7a42f338ca7315aae11d25e7adb89aaefe7849.tar.gz
forums-8b7a42f338ca7315aae11d25e7adb89aaefe7849.tar.bz2
forums-8b7a42f338ca7315aae11d25e7adb89aaefe7849.tar.xz
forums-8b7a42f338ca7315aae11d25e7adb89aaefe7849.zip
[ticket/13614] Removed code that relies on phpbb_pcre_utf8_support()
Removed all calls to phpbb_pcre_utf8_support() as well as unreachable code. PHPBB3-13614
Diffstat (limited to 'tests/regex/censor_test.php')
-rw-r--r--tests/regex/censor_test.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/regex/censor_test.php b/tests/regex/censor_test.php
index 50c6778c8c..5625b0020b 100644
--- a/tests/regex/censor_test.php
+++ b/tests/regex/censor_test.php
@@ -37,17 +37,7 @@ class phpbb_regex_censor_test extends phpbb_test_case
*/
public function test_censor_unicode($pattern, $subject)
{
- $regex = get_censor_preg_expression($pattern, true);
-
- $this->assertRegExp($regex, $subject);
- }
-
- /**
- * @dataProvider censor_test_data
- */
- public function test_censor_no_unicode($pattern, $subject)
- {
- $regex = get_censor_preg_expression($pattern, false);
+ $regex = get_censor_preg_expression($pattern);
$this->assertRegExp($regex, $subject);
}