jenkins-bot has submitted this change and it was merged.

Change subject: Remove not needed & broken UnitTestsList hook
......................................................................


Remove not needed & broken UnitTestsList hook

See:
https://www.mediawiki.org/wiki/Manual:Hooks/UnitTestsList

Tests in our test dir will automatically be found

Depends-On: Ic42ac8e28c66b79193bcafe332b1ef2ebc29742d
Change-Id: I18d475a6d34d1ccb358a7bf8fd911737dd8f85b1
---
M extension.json
M src/CognateHooks.php
2 files changed, 1 insertion(+), 7 deletions(-)

Approvals:
  Addshore: Looks good to me, approved
  Thiemo Mättig (WMDE): Looks good to me, approved
  jenkins-bot: Verified



diff --git a/extension.json b/extension.json
index df53257..04a53b6 100644
--- a/extension.json
+++ b/extension.json
@@ -28,8 +28,7 @@
     "WikiPageDeletionUpdates": [ 
"Cognate\\CognateHooks::onWikiPageDeletionUpdates" ],
     "ArticleUndelete": [ "Cognate\\CognateHooks::onArticleUndelete" ],
     "TitleMoveComplete": [ "Cognate\\CognateHooks::onTitleMoveComplete" ],
-    "LoadExtensionSchemaUpdates": [ 
"Cognate\\CognateHooks::onLoadExtensionSchemaUpdates" ],
-    "UnitTestsList": [ "Cognate\\CognateHooks::onUnitTestsList" ]
+    "LoadExtensionSchemaUpdates": [ 
"Cognate\\CognateHooks::onLoadExtensionSchemaUpdates" ]
   },
   "MessagesDirs": {
     "Cognate": [
diff --git a/src/CognateHooks.php b/src/CognateHooks.php
index 4333595..f919328 100644
--- a/src/CognateHooks.php
+++ b/src/CognateHooks.php
@@ -102,9 +102,4 @@
                return true;
        }
 
-       public static function onUnitTestsList( &$files ) {
-               $files = array_merge( $files, __DIR__ . '/tests/phpunit' );
-               return true;
-       }
-
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I18d475a6d34d1ccb358a7bf8fd911737dd8f85b1
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/Cognate
Gerrit-Branch: master
Gerrit-Owner: Addshore <addshorew...@gmail.com>
Gerrit-Reviewer: Addshore <addshorew...@gmail.com>
Gerrit-Reviewer: Gabriel Birke <gabriel.bi...@wikimedia.de>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de>
Gerrit-Reviewer: WMDE-Fisch <christoph.jau...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to