dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use ::class to resolve class names in tests
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
logging
/
LogFormatterTest.php
diff --git
a/tests/phpunit/includes/logging/LogFormatterTest.php
b/tests/phpunit/includes/logging/LogFormatterTest.php
index
012b0a3
..
e523a31
100644
(file)
--- a/
tests/phpunit/includes/logging/LogFormatterTest.php
+++ b/
tests/phpunit/includes/logging/LogFormatterTest.php
@@
-53,8
+53,8
@@
class LogFormatterTest extends MediaWikiLangTestCase {
$this->setMwGlobals( [
'wgLogTypes' => [ 'phpunit' ],
$this->setMwGlobals( [
'wgLogTypes' => [ 'phpunit' ],
- 'wgLogActionsHandlers' => [ 'phpunit/test' =>
'LogFormatter'
,
- 'phpunit/param' =>
'LogFormatter'
],
+ 'wgLogActionsHandlers' => [ 'phpunit/test' =>
LogFormatter::class
,
+ 'phpunit/param' =>
LogFormatter::class
],
'wgUser' => User::newFromName( 'Testuser' ),
] );
'wgUser' => User::newFromName( 'Testuser' ),
] );