Thiemo Mättig (WMDE) has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/246475

Change subject: Fix bad test class name
......................................................................

Fix bad test class name

Found with this regex:
(?s)\A.*@covers\b\W*(?:\b\w+\\)*(\b\w+\b)\s(?!.*\bclass \1Test )

I expected more cases in our code base, but this is the only one.

Change-Id: I46f28f1a36ba863b0dbe071657e067eedcc6f448
---
R repo/tests/phpunit/includes/rdf/DateTimeValueCleanerTest.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/75/246475/1

diff --git a/repo/tests/phpunit/includes/rdf/DateValueCleanerTest.php 
b/repo/tests/phpunit/includes/rdf/DateTimeValueCleanerTest.php
similarity index 98%
rename from repo/tests/phpunit/includes/rdf/DateValueCleanerTest.php
rename to repo/tests/phpunit/includes/rdf/DateTimeValueCleanerTest.php
index 230b870..a6c1389 100644
--- a/repo/tests/phpunit/includes/rdf/DateValueCleanerTest.php
+++ b/repo/tests/phpunit/includes/rdf/DateTimeValueCleanerTest.php
@@ -17,7 +17,7 @@
  * @licence GNU GPL v2+
  * @author Stas Malyshev
  */
-class DateValueCleanerTest extends \PHPUnit_Framework_TestCase {
+class DateTimeValueCleanerTest extends \PHPUnit_Framework_TestCase {
 
        public function getDates() {
                return array(

-- 
To view, visit https://gerrit.wikimedia.org/r/246475
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I46f28f1a36ba863b0dbe071657e067eedcc6f448
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to