Tests: removed assignments of null to globals that are usually not null in tearDown...
authorMax Semenik <maxsem@users.mediawiki.org>
Sat, 13 Nov 2010 08:32:40 +0000 (08:32 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Sat, 13 Nov 2010 08:32:40 +0000 (08:32 +0000)
commitd3978dc03b71477b80cf048177554d55ac5b59de
tree7e219f9d2742ae2d565aa9e5f4e045e4d1791a08
parent4fd3ac1b690d9ce0c961958427b287b89c1a65f3
Tests: removed assignments of null to globals that are usually not null in tearDown() methods. This practice leads to other tests having to play whack-a-mole by initializing random variables they don't need directly just to avoid crashing.
maintenance/tests/phpunit/includes/ExtraParserTest.php
maintenance/tests/phpunit/includes/LanguageConverterTest.php
maintenance/tests/phpunit/includes/TitlePermissionTest.php
maintenance/tests/phpunit/includes/api/ApiSetup.php
maintenance/tests/phpunit/includes/api/ApiUploadTest.php
maintenance/tests/phpunit/includes/search/SearchUpdateTest.php