Ensure disabled deprecation warnings are re-enabled before next test
[lhc/web/wiklou.git] / tests / phpunit / MediaWikiTestCase.php
index af014b9..d675e85 100644 (file)
@@ -552,6 +552,8 @@ abstract class MediaWikiTestCase extends PHPUnit\Framework\TestCase {
                        }
                }
 
+               // Re-enable any disabled deprecation warnings
+               MWDebug::clearLog();
                // Restore mw globals
                foreach ( $this->mwGlobals as $key => $value ) {
                        $GLOBALS[$key] = $value;