Follow up r79109.
authorPlatonides <platonides@users.mediawiki.org>
Wed, 29 Dec 2010 15:01:47 +0000 (15:01 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 29 Dec 2010 15:01:47 +0000 (15:01 +0000)
commit84709ae3b36410e21182281cc6a9f2d2994dc543
treed408d37652a0d8473a25f74ac61ba97c93405b7a
parent0ff3a40b6e3790f77941be445c14b10cad53ae40
Follow up r79109.
Don't setup/destroy for databaseless tests.
Make needsDB() return based on the DocComment.
Delayed db init until the test is run, so that it isn't set for excluded tests (the exclusion is done after all the classes are instantiated).
tests/phpunit/bootstrap.php
tests/phpunit/includes/BlockTest.php
tests/phpunit/includes/LocalFileTest.php
tests/phpunit/includes/NewDBTest.php