r90157 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r90156
|
r90157
|
r90158
>
Date:
21:07, 15 June 2011
Author:
platonides
Status:
ok
Tags:
Comment:
Make sure to die if there are more MediaWikiLangTestCase::tearDowns than setUp()s (such as
r90150
&
r90155
)
Modified paths:
/trunk/phase3/tests/phpunit/MediaWikiLangTestCase.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/tests/phpunit/MediaWikiLangTestCase.php
—
—
@@ -27,6 +27,7 @@
28
28
29
29
$wgContLang = self::$oldContLang;
30
30
$wgLanguageCode = $wgContLang->getCode();
31
+ self::$oldContLang = self::$oldLang = null;
31
32
}
32
33
33
34
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r90150
Followup to
r90090
-- thou shalt add parent:: calls to both overridden tearDo...
brion
20:51, 15 June 2011
r90155
Follow-up
r90150
, another parent::setUp missing.
platonides
21:03, 15 June 2011
Status & tagging log
21:23, 15 June 2011
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r90157
[
removed:
new
added:
ok]