Don't write exceptions to STDERR from BadTitleErrorTest or ThrottledErrorTest
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 14 Feb 2018 18:01:19 +0000 (13:01 -0500)
committerKrinkle <krinklemail@gmail.com>
Fri, 16 Feb 2018 09:01:51 +0000 (09:01 +0000)
commit4a275ea53c8bedcabe30396d7ce88a06650568b1
tree29c6019559f7a0b7387655782ee789c0830c8409
parent63f673a04c69acb8f8643a65fa2b30cf5fa8b86c
Don't write exceptions to STDERR from BadTitleErrorTest or ThrottledErrorTest

It's annoying and pointless. Instead, have MWException write them to
standard output where we can catch them with ob_start().

Bug: T170028
Bug: T170029
Change-Id: Icd99c1c39d4a30d78c511d33948ef639e1b92455
includes/exception/MWException.php
tests/phpunit/includes/exception/BadTitleErrorTest.php
tests/phpunit/includes/exception/ThrottledErrorTest.php