X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Flogging%2FPageLangLogFormatterTest.php;h=33fd68f6c3d35435158c15224f8f23001af9985b;hp=2156bdb4abfa96537c4dce31036b4c39ed43e871;hb=a2c8c2969420a0f150c03f76e3a0bf9028fcda43;hpb=939199bcea28a3b13c49c0f808d11d415660b924 diff --git a/tests/phpunit/includes/logging/PageLangLogFormatterTest.php b/tests/phpunit/includes/logging/PageLangLogFormatterTest.php index 2156bdb4ab..33fd68f6c3 100644 --- a/tests/phpunit/includes/logging/PageLangLogFormatterTest.php +++ b/tests/phpunit/includes/logging/PageLangLogFormatterTest.php @@ -1,5 +1,8 @@ setMwGlobals( 'wgHooks', [] ); // Register LogHandler, see $wgPageLanguageUseDB in Setup.php $this->mergeMwGlobalArrayValue( 'wgLogActionsHandlers', [ - 'pagelang/pagelang' => 'PageLangLogFormatter', + 'pagelang/pagelang' => PageLangLogFormatter::class, ] ); }