Merge "ContribsPager: Fix slow queries"
[lhc/web/wiklou.git] / tests / phpunit / structure / SpecialPageFatalTest.php
index 97797ca..026b903 100644 (file)
@@ -32,6 +32,9 @@ class SpecialPageFatalTest extends MediaWikiTestCase {
 
                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"