From 1d17bbe56326f4e4a26a5da59d232bbac16aed15 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Mon, 18 Dec 2017 22:01:02 -0800 Subject: [PATCH] RevisionTest: Make @covers tags absolute PHPUnit requires @covers tags to be absolute, they cannot depend upon `use ...` statements. Change-Id: I92fadc51cc924477d884536b860272b5a230cd36 --- 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 f4ad98d216..ef55e7235a 100644 --- a/tests/phpunit/includes/RevisionTest.php +++ b/tests/phpunit/includes/RevisionTest.php @@ -166,7 +166,7 @@ class RevisionTest extends MediaWikiTestCase { /** * @dataProvider provideConstructFromArrayThrowsExceptions * @covers Revision::__construct - * @covers RevisionStore::newMutableRevisionFromArray + * @covers \MediaWiki\Storage\RevisionStore::newMutableRevisionFromArray */ public function testConstructFromArrayThrowsExceptions( $rowArray, Exception $expectedException ) { $this->setExpectedException( @@ -179,7 +179,7 @@ class RevisionTest extends MediaWikiTestCase { /** * @covers Revision::__construct - * @covers RevisionStore::newMutableRevisionFromArray + * @covers \MediaWiki\Storage\RevisionStore::newMutableRevisionFromArray */ public function testConstructFromNothing() { $this->setExpectedException( @@ -265,7 +265,7 @@ class RevisionTest extends MediaWikiTestCase { /** * @dataProvider provideConstructFromRow * @covers Revision::__construct - * @covers RevisionStore::newRevisionFromRow + * @covers \MediaWiki\Storage\RevisionStore::newRevisionFromRow */ public function testConstructFromRow( array $arrayData, $assertions ) { $data = 'Hello goat.'; // needs to match model and format -- 2.20.1