Brion Vibber
1cc4bae5f8
Followup to r90090 -- thou shalt add parent:: calls to both overridden tearDown *and* overridden setUp ()
...
Had been resulting in fatal errors when running TimeAdjustTest, due to trying to use an old $wgContLang value that had never gotten saved properly because the parent class setUp() was not called.
2011-06-15 20:51:17 +00:00
Platonides
de2cdf3fc5
Thou shall call parent::tearDown(), MediaWikiLangTestCase child.
...
Follow up r87210. This has been hurting my tests for weeks.
Made TimeAdjustTest extend MediaWikiLangTestCase.
2011-06-14 21:21:26 +00:00
Chad Horohoe
447529064b
* verbose and color default output from phpunit
...
* Make a bunch of tests subclass MediaWikiTestCase
* Parser tests and ResourceLoaderTest can't subclass it yet due to various issues
2010-12-28 18:17:16 +00:00
Chad Horohoe
23f69f10ed
Per wikitech-l discussion: Move tests from maintenance/tests/ to tests/. They're not strictly maintenance scripts, and some people want to do a selective checkout that doesn't include the tests. There's still debate on whether we should include these in the release downloads, but we had a pretty firm consensus to move this.
2010-12-14 16:26:35 +00:00