diff options
Diffstat (limited to 'Echo/tests/phpunit/EchoSummaryParserTest.php')
-rw-r--r-- | Echo/tests/phpunit/EchoSummaryParserTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Echo/tests/phpunit/EchoSummaryParserTest.php b/Echo/tests/phpunit/EchoSummaryParserTest.php index 357036fc..7fc7a9bf 100644 --- a/Echo/tests/phpunit/EchoSummaryParserTest.php +++ b/Echo/tests/phpunit/EchoSummaryParserTest.php @@ -9,8 +9,9 @@ class EchoSummaryParserTest extends MediaWikiTestCase { 'Jorm', 'Jim Carter', ]; + /** - * @covers EchoSummaryParser::parse + * @covers \EchoSummaryParser::parse * @dataProvider provideParse * * @param string $summary @@ -26,7 +27,7 @@ class EchoSummaryParserTest extends MediaWikiTestCase { $users = $parser->parse( $summary ); foreach ( $users as $name => $user ) { - $this->assertType( User::class, $user ); + $this->assertInstanceof( User::class, $user ); $this->assertEquals( $name, $user->getName() ); } |