jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Jonas Kress (WMDE): Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I46f28f1a36ba863b0dbe071657e067eedcc6f448
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: Jonas Kress (WMDE) <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits