dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RevisionTest: Make @covers tags absolute
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
RevisionTest.php
diff --git
a/tests/phpunit/includes/RevisionTest.php
b/tests/phpunit/includes/RevisionTest.php
index
b7f1a47
..
ef55e72
100644
(file)
--- 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
/**
* @dataProvider provideConstructFromArray
* @covers Revision::__construct
- * @covers
Revision::constructFromRow
Array
+ * @covers
\MediaWiki\Storage\RevisionStore::newMutableRevisionFrom
Array
*/
public function testConstructFromArray( $rowArray ) {
$rev = new Revision( $rowArray, 0, $this->getMockTitle() );
*/
public function testConstructFromArray( $rowArray ) {
$rev = new Revision( $rowArray, 0, $this->getMockTitle() );
@@
-68,7
+68,7
@@
class RevisionTest extends MediaWikiTestCase {
/**
* @covers Revision::__construct
/**
* @covers Revision::__construct
- * @covers
Revision::constructFromRow
Array
+ * @covers
\MediaWiki\Storage\RevisionStore::newMutableRevisionFrom
Array
*/
public function testConstructFromEmptyArray() {
$rev = new Revision( [], 0, $this->getMockTitle() );
*/
public function testConstructFromEmptyArray() {
$rev = new Revision( [], 0, $this->getMockTitle() );
@@
-106,7
+106,7
@@
class RevisionTest extends MediaWikiTestCase {
/**
* @dataProvider provideConstructFromArray_userSetAsExpected
* @covers Revision::__construct
/**
* @dataProvider provideConstructFromArray_userSetAsExpected
* @covers Revision::__construct
- * @covers
Revision::constructFromRow
Array
+ * @covers
\MediaWiki\Storage\RevisionStore::newMutableRevisionFrom
Array
*
* @param array $rowArray
* @param mixed $expectedUserId null to expect the current wgUser ID
*
* @param array $rowArray
* @param mixed $expectedUserId null to expect the current wgUser ID
@@
-166,7
+166,7
@@
class RevisionTest extends MediaWikiTestCase {
/**
* @dataProvider provideConstructFromArrayThrowsExceptions
* @covers Revision::__construct
/**
* @dataProvider provideConstructFromArrayThrowsExceptions
* @covers Revision::__construct
- * @covers RevisionStore::newMutableRevisionFromArray
+ * @covers
\MediaWiki\Storage\
RevisionStore::newMutableRevisionFromArray
*/
public function testConstructFromArrayThrowsExceptions( $rowArray, Exception $expectedException ) {
$this->setExpectedException(
*/
public function testConstructFromArrayThrowsExceptions( $rowArray, Exception $expectedException ) {
$this->setExpectedException(
@@
-179,7
+179,7
@@
class RevisionTest extends MediaWikiTestCase {
/**
* @covers Revision::__construct
/**
* @covers Revision::__construct
- * @covers RevisionStore::newMutableRevisionFromArray
+ * @covers
\MediaWiki\Storage\
RevisionStore::newMutableRevisionFromArray
*/
public function testConstructFromNothing() {
$this->setExpectedException(
*/
public function testConstructFromNothing() {
$this->setExpectedException(
@@
-265,7
+265,7
@@
class RevisionTest extends MediaWikiTestCase {
/**
* @dataProvider provideConstructFromRow
* @covers Revision::__construct
/**
* @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
*/
public function testConstructFromRow( array $arrayData, $assertions ) {
$data = 'Hello goat.'; // needs to match model and format