mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge pull request #3597 from s9e/ticket/13614
[ticket/13614] Removed code that relies on phpbb_pcre_utf8_support()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user