From: Kunal Mehta Date: Tue, 19 Dec 2017 06:01:02 +0000 (-0800) Subject: RevisionTest: Make @covers tags absolute X-Git-Tag: 1.31.0-rc.0~1169 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/rappels.php?a=commitdiff_plain;h=1d17bbe56326f4e4a26a5da59d232bbac16aed15;p=lhc%2Fweb%2Fwiklou.git RevisionTest: Make @covers tags absolute PHPUnit requires @covers tags to be absolute, they cannot depend upon `use ...` statements. Change-Id: I92fadc51cc924477d884536b860272b5a230cd36 --- 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