X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FSampleTest.php;h=3d74ae3efcb7431f1c83193d92ab2317745ca965;hb=7bc541a4a70899475b88daaf2f26db1e1fc5e18a;hp=c0930e3dbfd4f7065bcf4d2409b595ffc8374ab4;hpb=ca5aacd6c11df2403d672deec99f53e9cbdd1fd7;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/SampleTest.php b/tests/phpunit/includes/SampleTest.php index c0930e3dbf..3d74ae3efc 100644 --- a/tests/phpunit/includes/SampleTest.php +++ b/tests/phpunit/includes/SampleTest.php @@ -36,7 +36,7 @@ class SampleTest extends MediaWikiLangTestCase { */ public function testTitleObjectStringConversion() { $title = Title::newFromText( "text" ); - $this->assertInstanceOf( 'Title', $title, "Title creation" ); + $this->assertInstanceOf( Title::class, $title, "Title creation" ); $this->assertEquals( "Text", $title, "Automatic string conversion" ); $title = Title::newFromText( "text", NS_MEDIA );