dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Selenium: replace UserLoginPage with BlankPage where possible"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
languages
/
LanguageConverterTest.php
diff --git
a/tests/phpunit/languages/LanguageConverterTest.php
b/tests/phpunit/languages/LanguageConverterTest.php
index
e53b86e
..
5dcb8e4
100644
(file)
--- 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<big id='в'></big>";
$testString .= 'xxx xxx xxx';
}
$testString .= "\n<big id='в'></big>";
- $
old = ini_set
( 'pcre.backtrack_limit', 200 );
+ $
this->setIniSetting
( 'pcre.backtrack_limit', 200 );
$result = $this->lc->autoConvert( $testString, 'tg-latn' );
$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' ),
// The в in the id attribute should not get converted to a v
$this->assertFalse(
strpos( $result, 'v' ),