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 "exception: Correct label "Notice" for E_USER_NOTICE, not "Warning""
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
HtmlTest.php
diff --git
a/tests/phpunit/includes/HtmlTest.php
b/tests/phpunit/includes/HtmlTest.php
index
71e733b
..
156f702
100644
(file)
--- a/
tests/phpunit/includes/HtmlTest.php
+++ b/
tests/phpunit/includes/HtmlTest.php
@@
-66,10
+66,13
@@
class HtmlTest extends MediaWikiTestCase {
}
protected function tearDown() {
+ Language::factory( 'en' )->resetNamespaces();
+
if ( $this->restoreWarnings ) {
$this->restoreWarnings = false;
Wikimedia\restoreWarnings();
}
+
parent::tearDown();
}