Update suppressWarning()/restoreWarning() calls
[lhc/web/wiklou.git] / tests / phpunit / includes / debug / logger / monolog / AvroFormatterTest.php
index 915a186..baa4df7 100644 (file)
@@ -50,9 +50,9 @@ class AvroFormatterTest extends MediaWikiTestCase {
                // disable conversion of notices
                PHPUnit_Framework_Error_Notice::$enabled = false;
                // have to keep the user notice from being output
-               \MediaWiki\suppressWarnings();
+               \Wikimedia\suppressWarnings();
                $res = $formatter->format( [ 'channel' => 'marty' ] );
-               \MediaWiki\restoreWarnings();
+               \Wikimedia\restoreWarnings();
                PHPUnit_Framework_Error_Notice::$enabled = $noticeEnabled;
                $this->assertNull( $res );
        }