While testing, turn off DataBase::ignoreErrors.
authordaniel <daniel.kinzler@wikimedia.de>
Wed, 5 Dec 2012 16:13:21 +0000 (17:13 +0100)
committerdaniel <daniel.kinzler@wikimedia.de>
Wed, 5 Dec 2012 16:13:21 +0000 (17:13 +0100)
commitabf22b914af1928b598e06553ea486bb511f5feb
tree0d7b277a1278a7f8ddfffad70315faea34c88849
parent904bebbd37bec50bf52356c45c618b533007481b
While testing, turn off DataBase::ignoreErrors.

Database errors should cause an exception, not return false,
unless the test case, or the code under test, explicitely calls
ignoreErrors(true). The DB object should be reset to fail fast
and safe for every test.

Change-Id: Ifc2a720ec46a1843d9ffb1488c54743a0099ef9d
tests/phpunit/MediaWikiTestCase.php