dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e949649
)
Fix TitlePermissionTest failures due to test leakage
author
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 10 Oct 2018 04:41:51 +0000
(21:41 -0700)
committer
Krinkle
<krinklemail@gmail.com>
Wed, 10 Oct 2018 23:17:13 +0000
(23:17 +0000)
Bug: T201776
Change-Id: I46d44c031ec45ac0be4c372891d2992c1e4f35ab
tests/phpunit/includes/HtmlTest.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/includes/HtmlTest.php
b/tests/phpunit/includes/HtmlTest.php
index
62094b6
..
5cc59b3
100644
(file)
--- a/
tests/phpunit/includes/HtmlTest.php
+++ b/
tests/phpunit/includes/HtmlTest.php
@@
-41,10
+41,13
@@
class HtmlTest extends MediaWikiTestCase {
}
protected function tearDown() {
+ Language::factory( 'en' )->resetNamespaces();
+
if ( $this->restoreWarnings ) {
$this->restoreWarnings = false;
Wikimedia\restoreWarnings();
}
+
parent::tearDown();
}