test: inject autoloader in Maintenance class
authorAntoine Musso <hashar@free.fr>
Mon, 20 May 2013 11:19:13 +0000 (13:19 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sat, 1 Jun 2013 07:27:11 +0000 (09:27 +0200)
commit7a82d5b779112c8a6c9cd0fcb940b6381639823a
treea033151bc521038e51b4f779c02c686e7f7b4547
parentca934127d7424e0e63ef3515137cf02278ab26ca
test: inject autoloader in Maintenance class

We used to inject the test autoloader from the global space after the
Maintenance class has been initialized.  That prevents us from using
tests classes (such as Mock) during the Maintenance setup.

This patch move the TestsAutoLoader.php require() at the beginning of
finalSetup() which would let use Mock classes.

Change-Id: Ia402eafae8407d1516e3d200ac97539e3681fdc6
tests/phpunit/phpunit.php