Do not suppress php notices in SpecialPageFatalTest
authorUmherirrender <umherirrender_de.wp@web.de>
Tue, 19 Feb 2019 20:19:31 +0000 (21:19 +0100)
committerUmherirrender <umherirrender_de.wp@web.de>
Tue, 19 Feb 2019 20:20:59 +0000 (21:20 +0100)
commit4743ab9efc9c6ac7e02f7689844e1bc1a13b475f
tree66894be7d139304aea43748e525e343ab14bba35
parent000e00cf919805fbac87e7295e66bb1029ef35d3
Do not suppress php notices in SpecialPageFatalTest

When the php notice is converted to exception,
it is also from type Exception and currently ignored.
Catch the special phpunit exception type separated and rethrow.

This changed is in a structure test and can break other exceptions.

Change-Id: I8fb26380724b6b12bf08458dbff2e00b759d219b
tests/phpunit/structure/SpecialPageFatalTest.php