Make sure MaintenanceFixup's shutdown is simulated
authorBrad Jorsch <bjorsch@wikimedia.org>
Fri, 7 Dec 2012 16:08:15 +0000 (11:08 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Fri, 7 Dec 2012 16:08:15 +0000 (11:08 -0500)
commita2093fecb3e59d959cd50238ec4d7ec1fdce5a2f
tree1fdc9b32136dccccbea8052845ccd6449ba0368f
parent563bacc147f19efefeb7a2284ab07e10911ee435
Make sure MaintenanceFixup's shutdown is simulated

Previously, MaintenanceTest created a MaintenanceFixup in setUp and
relied on each test to call MaintenanceFixup's simulateShutdown instead
of making sure this was called in tearDown. Change Iee1261e7 broke this
by introducing a meta-test in a parent class.

Fixing that also allows us to not have to special-case failed tests.

Change-Id: I67c8615dd94734bb55ca48aac0c66298accbe0b4
tests/phpunit/maintenance/MaintenanceTest.php