Use ::class to resolve class names in tests
[lhc/web/wiklou.git] / tests / phpunit / includes / BlockTest.php
index b765494..1e46555 100644 (file)
@@ -174,7 +174,7 @@ class BlockTest extends MediaWikiLangTestCase {
                );
 
                $this->assertInstanceOf(
-                       'Block',
+                       Block::class,
                        $userBlock,
                        "'$username' block block object should be existent"
                );