Merge "Revert "Log the reason why revision->getContent() returns null""
[lhc/web/wiklou.git] / tests / phpunit / includes / logging / PageLangLogFormatterTest.php
index 2156bdb..33fd68f 100644 (file)
@@ -1,5 +1,8 @@
 <?php
 
+/**
+ * @covers PageLangLogFormatter
+ */
 class PageLangLogFormatterTest extends LogFormatterTestCase {
 
        protected function setUp() {
@@ -9,7 +12,7 @@ class PageLangLogFormatterTest extends LogFormatterTestCase {
                $this->setMwGlobals( 'wgHooks', [] );
                // Register LogHandler, see $wgPageLanguageUseDB in Setup.php
                $this->mergeMwGlobalArrayValue( 'wgLogActionsHandlers', [
-                       'pagelang/pagelang' => 'PageLangLogFormatter',
+                       'pagelang/pagelang' => PageLangLogFormatter::class,
                ] );
        }