Legoktm has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/405983 )
Change subject: Fix and add @covers tags
......................................................................
Fix and add @covers tags
Change-Id: Ifa11ee418e016c103fb0ac6b32a790a2977aec8d
---
M tests/phpunit/ApiQueryExtractsTest.php
M tests/phpunit/ExtractFormatterTest.php
2 files changed, 5 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TextExtracts refs/changes/83/405983/1
diff --git a/tests/phpunit/ApiQueryExtractsTest.php b/tests/phpunit/ApiQueryExtractsTest.php
index 6c8d317..ebebfcb 100644
--- a/tests/phpunit/ApiQueryExtractsTest.php
+++ b/tests/phpunit/ApiQueryExtractsTest.php
@@ -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()
diff --git a/tests/phpunit/ExtractFormatterTest.php b/tests/phpunit/ExtractFormatterTest.php
index 60a8ef3..6c491cc 100644
--- a/tests/phpunit/ExtractFormatterTest.php
+++ b/tests/phpunit/ExtractFormatterTest.php
@@ -8,6 +8,7 @@
use TextExtracts\ExtractFormatter;
/**
+ * @covers \TextExtracts\ExtractFormatter
* @group TextExtracts
*/
class ExtractFormatterTest extends MediaWikiTestCase {
--
To view, visit https://gerrit.wikimedia.org/r/405983
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifa11ee418e016c103fb0ac6b32a790a2977aec8d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TextExtracts
Gerrit-Branch: master
Gerrit-Owner: Legoktm <legoktm@member.fsf.org>
_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
Change subject: Fix and add @covers tags
......................................................................
Fix and add @covers tags
Change-Id: Ifa11ee418e016c103fb0ac6b32a790a2977aec8d
---
M tests/phpunit/ApiQueryExtractsTest.php
M tests/phpunit/ExtractFormatterTest.php
2 files changed, 5 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TextExtracts refs/changes/83/405983/1
diff --git a/tests/phpunit/ApiQueryExtractsTest.php b/tests/phpunit/ApiQueryExtractsTest.php
index 6c8d317..ebebfcb 100644
--- a/tests/phpunit/ApiQueryExtractsTest.php
+++ b/tests/phpunit/ApiQueryExtractsTest.php
@@ -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()
diff --git a/tests/phpunit/ExtractFormatterTest.php b/tests/phpunit/ExtractFormatterTest.php
index 60a8ef3..6c491cc 100644
--- a/tests/phpunit/ExtractFormatterTest.php
+++ b/tests/phpunit/ExtractFormatterTest.php
@@ -8,6 +8,7 @@
use TextExtracts\ExtractFormatter;
/**
+ * @covers \TextExtracts\ExtractFormatter
* @group TextExtracts
*/
class ExtractFormatterTest extends MediaWikiTestCase {
--
To view, visit https://gerrit.wikimedia.org/r/405983
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifa11ee418e016c103fb0ac6b32a790a2977aec8d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TextExtracts
Gerrit-Branch: master
Gerrit-Owner: Legoktm <legoktm@member.fsf.org>
_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits