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
/
BlockTest.php
diff --git
a/tests/phpunit/includes/BlockTest.php
b/tests/phpunit/includes/BlockTest.php
index
b765494
..
1e46555
100644
(file)
--- a/
tests/phpunit/includes/BlockTest.php
+++ b/
tests/phpunit/includes/BlockTest.php
@@
-174,7
+174,7
@@
class BlockTest extends MediaWikiLangTestCase {
);
$this->assertInstanceOf(
-
'Block'
,
+
Block::class
,
$userBlock,
"'$username' block block object should be existent"
);