aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2015-05-19 23:53:27 +0200
committerNicofuma <github@nicofuma.fr>2015-05-19 23:53:27 +0200
commit9ccc7f4d656ef333475fa0a39dfe4eda897573ca (patch)
treecc1f6a712b761e1e843887454b0ca6732dfe7f9a /tests
parent5e6c026527077f2ea57311cfd7ca2abce331ae0b (diff)
parentf31483242bcafb47cd64150c242bd273ba16f7dd (diff)
downloadforums-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.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);
}