X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Flanguages%2FLanguageConverterTest.php;h=5dcb8e48085e8c3438ee9f83594f256e1cfffb58;hp=e53b86e259d6ea93a8b82c9affa9d52863bd6643;hb=dfec83932fd38a9086eb5a2e212889ad00f35b0e;hpb=d59f27aeab08b171e5ab6a081e763a4cad0bca04 diff --git a/tests/phpunit/languages/LanguageConverterTest.php b/tests/phpunit/languages/LanguageConverterTest.php index e53b86e259..5dcb8e4808 100644 --- a/tests/phpunit/languages/LanguageConverterTest.php +++ b/tests/phpunit/languages/LanguageConverterTest.php @@ -303,9 +303,8 @@ class LanguageConverterTest extends MediaWikiLangTestCase { $testString .= 'xxx xxx xxx'; } $testString .= "\n"; - $old = ini_set( 'pcre.backtrack_limit', 200 ); + $this->setIniSetting( 'pcre.backtrack_limit', 200 ); $result = $this->lc->autoConvert( $testString, 'tg-latn' ); - ini_set( 'pcre.backtrack_limit', $old ); // The в in the id attribute should not get converted to a v $this->assertFalse( strpos( $result, 'v' ),