Fixup phpunit tests so we don't drop/create tables on EVERY SINGLE TEST.
authorChad Horohoe <demon@users.mediawiki.org>
Tue, 24 May 2011 21:22:36 +0000 (21:22 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Tue, 24 May 2011 21:22:36 +0000 (21:22 +0000)
commitc84f722f13cbfa41ef0e21a217d0194542b7b601
tree2c015e7b252059df1108d66a8aaf63f413eab91b
parent536fad8f908e1f2f20b6454985e905e1e5fdde07
Fixup phpunit tests so we don't drop/create tables on EVERY SINGLE TEST.
Now just create them on the first test that needsDB() and skip creation on the rest.
Leaves you with a bunch of useless tables at the end of a run, but oh well at least its faster :)
tests/phpunit/MediaWikiTestCase.php