wiki.techinc.nl/tests/phpunit/includes/exception
Chad Horohoe 25c3c061b5 Fix/hack ErrorPageError to work from non-UI contexts
Right now, ErrorPageError *assumes* you're never running on the cli
or the API. It's kinda a crappy superclass to use for errors unless
you're 1000% sure you'll never hit that code path. Yay assumptions!

Ideally, all of this report() crap is cleaned up and unified across
the like 1192902117 places we have it spread out, but for now just
detect the scenario and delegate back to MWException, which does the
right thing

Bug: T168337
Change-Id: Ia2f490528e128527a7a5ef1f4f5eea36ec9ee810
2017-07-06 20:04:31 +00:00
..
BadTitleErrorTest.php Switch name to username in @author tags 2016-01-27 10:59:31 +01:00
ErrorPageErrorTest.php Fix/hack ErrorPageError to work from non-UI contexts 2017-07-06 20:04:31 +00:00
HttpErrorTest.php Fix numerous class/function casing 2016-03-18 23:14:49 +00:00
MWExceptionHandlerTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MWExceptionTest.php Remove $wgExceptionHooks 2017-05-22 00:57:44 +02:00
ReadOnlyErrorTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ThrottledErrorTest.php Switch name to username in @author tags 2016-01-27 10:59:31 +01:00
UserNotLoggedInTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00