diff options
author | Nicofuma <github@nicofuma.fr> | 2015-05-19 23:53:27 +0200 |
---|---|---|
committer | Nicofuma <github@nicofuma.fr> | 2015-05-19 23:53:27 +0200 |
commit | 9ccc7f4d656ef333475fa0a39dfe4eda897573ca (patch) | |
tree | cc1f6a712b761e1e843887454b0ca6732dfe7f9a /tests | |
parent | 5e6c026527077f2ea57311cfd7ca2abce331ae0b (diff) | |
parent | f31483242bcafb47cd64150c242bd273ba16f7dd (diff) | |
download | forums-9ccc7f4d656ef333475fa0a39dfe4eda897573ca.tar forums-9ccc7f4d656ef333475fa0a39dfe4eda897573ca.tar.gz forums-9ccc7f4d656ef333475fa0a39dfe4eda897573ca.tar.bz2 forums-9ccc7f4d656ef333475fa0a39dfe4eda897573ca.tar.xz forums-9ccc7f4d656ef333475fa0a39dfe4eda897573ca.zip |
Merge pull request #3597 from s9e/ticket/13614
[ticket/13614] Removed code that relies on phpbb_pcre_utf8_support()
Diffstat (limited to 'tests')
-rw-r--r-- | tests/regex/censor_test.php | 12 |
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); } |