try {
$executor->executeSpecialPage( $page, '', null, null, $user );
+ } catch ( \PHPUnit\Framework\Error\Deprecated $deprecated ) {
+ // Allow deprecation,
+ // this test want to check fatals or other things breaking the extension
} catch ( \PHPUnit\Framework\Error\Error $error ) {
// Let phpunit settings working:
// - convertErrorsToExceptions="true"