X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fdebug%2Flogger%2Fmonolog%2FAvroFormatterTest.php;h=baa4df7390adff5f9092fb6ae496b29b12bee659;hp=915a18630ed56096b498709072e5d93ba3ab6e7b;hb=ee56f00ddf0609082f8ae9a4dc3e6e1b6f54ddfd;hpb=3b7f4539639b3899e246e245df481882f81f9340 diff --git a/tests/phpunit/includes/debug/logger/monolog/AvroFormatterTest.php b/tests/phpunit/includes/debug/logger/monolog/AvroFormatterTest.php index 915a18630e..baa4df7390 100644 --- a/tests/phpunit/includes/debug/logger/monolog/AvroFormatterTest.php +++ b/tests/phpunit/includes/debug/logger/monolog/AvroFormatterTest.php @@ -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 ); }