HomePhabricator

Do not suppress php notices in SpecialPageFatalTest

Authored by Umherirrender on Feb 19 2019, 8:19 PM.

Description

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

Details