From 0eecfd015d7bc8f467f0f70d169a12e88ba53916 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Thu, 21 Dec 2017 23:29:08 -0800 Subject: [PATCH] RevisionTest: Fix @covers tags Namespaced classes need to be absolutely named. Change-Id: I48a4b356835e9edf3151a0c8d3bed08ea8cfb452 --- tests/phpunit/includes/RevisionTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/includes/RevisionTest.php b/tests/phpunit/includes/RevisionTest.php index 6286e70e47..566dc9285a 100644 --- a/tests/phpunit/includes/RevisionTest.php +++ b/tests/phpunit/includes/RevisionTest.php @@ -57,7 +57,7 @@ class RevisionTest extends MediaWikiTestCase { /** * @dataProvider provideConstructFromArray * @covers Revision::__construct - * @covers RevisionStore::newMutableRevisionFromArray + * @covers \MediaWiki\Storage\RevisionStore::newMutableRevisionFromArray */ public function testConstructFromArray( $rowArray ) { $rev = new Revision( $rowArray, 0, $this->getMockTitle() ); @@ -68,7 +68,7 @@ class RevisionTest extends MediaWikiTestCase { /** * @covers Revision::__construct - * @covers RevisionStore::newMutableRevisionFromArray + * @covers \MediaWiki\Storage\RevisionStore::newMutableRevisionFromArray */ public function testConstructFromEmptyArray() { $rev = new Revision( [], 0, $this->getMockTitle() ); @@ -106,7 +106,7 @@ class RevisionTest extends MediaWikiTestCase { /** * @dataProvider provideConstructFromArray_userSetAsExpected * @covers Revision::__construct - * @covers RevisionStore::newMutableRevisionFromArray + * @covers \MediaWiki\Storage\RevisionStore::newMutableRevisionFromArray * * @param array $rowArray * @param mixed $expectedUserId null to expect the current wgUser ID -- 2.20.1