Update suppressWarning()/restoreWarning() calls
[lhc/web/wiklou.git] / tests / phpunit / includes / changes / RecentChangeTest.php
index d638d0f..ab42696 100644 (file)
@@ -52,9 +52,9 @@ class RecentChangeTest extends MediaWikiTestCase {
                $row->rc_deleted = 'bar';
                $row->rc_comment = 'comment';
 
-               MediaWiki\suppressWarnings();
+               Wikimedia\suppressWarnings();
                $rc = RecentChange::newFromRow( $row );
-               MediaWiki\restoreWarnings();
+               Wikimedia\restoreWarnings();
 
                $expected = [
                        'rc_foo' => 'AAA',