Add missing @covers tags to tests

We forgot about these when restructuring the code and introducing these
new methods.

Change-Id: If856a7857f2d50d1dc66a57999d98baa8b924d51
This commit is contained in:
Thiemo Kreuz 2019-12-18 16:06:53 +01:00 committed by Thiemo Kreuz (WMDE)
parent 0d7e04e1ee
commit 92607eecfd
4 changed files with 6 additions and 1 deletions

View file

@ -48,6 +48,7 @@ class CiteParserTagHooksTest extends \MediaWikiUnitTestCase {
}
/**
* @covers ::citeForParser
* @covers ::ref
*/
public function testRef() {
@ -91,6 +92,7 @@ class CiteParserTagHooksTest extends \MediaWikiUnitTestCase {
}
/**
* @covers ::citeForParser
* @covers ::references
*/
public function testReferences() {

View file

@ -613,6 +613,7 @@ class CiteUnitTest extends \MediaWikiUnitTestCase {
/**
* @covers ::__clone
* @covers ::__construct
*/
public function testClone() {
$original = $this->newCite();

View file

@ -17,8 +17,9 @@ use ParserOptions;
class ErrorReporterTest extends \MediaWikiUnitTestCase {
/**
* @covers ::plain
* @covers ::__construct
* @covers ::getInterfaceLanguageAndSplitCache
* @covers ::plain
* @dataProvider provideErrors
*/
public function testPlain(

View file

@ -20,6 +20,7 @@ class ReferencesFormatterTest extends \MediaWikiUnitTestCase {
/**
* @covers ::__construct
* @covers ::formatReferences
* @covers ::formatRefsList
* @dataProvider provideFormatReferences
*/
public function testFormatReferences( array $refs, string $expectedOutput ) {