Fix and add @covers tags

Change-Id: Ifa11ee418e016c103fb0ac6b32a790a2977aec8d
This commit is contained in:
Kunal Mehta 2018-01-23 14:54:12 -08:00
parent 9266688c54
commit b463a99a79
2 changed files with 5 additions and 1 deletions

View file

@ -1,14 +1,17 @@
<?php
namespace TextExtracts\Test;
use MediaWikiCoversValidator;
use PHPUnit_Framework_TestCase;
use TextExtracts\ApiQueryExtracts;
/**
* @covers ApiQueryExtracts
* @covers \TextExtracts\ApiQueryExtracts
* @group TextExtracts
*/
class ApiQueryExtractsTest extends PHPUnit_Framework_TestCase {
use MediaWikiCoversValidator;
private function newInstance() {
$context = $this->getMockBuilder( 'IContextSource' )
->disableOriginalConstructor()

View file

@ -8,6 +8,7 @@ use ParserOptions;
use TextExtracts\ExtractFormatter;
/**
* @covers \TextExtracts\ExtractFormatter
* @group TextExtracts
*/
class ExtractFormatterTest extends MediaWikiTestCase {