Legoktm has uploaded a new change for review.

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


Change subject: Actually run all the unit tests
......................................................................

Actually run all the unit tests

Change-Id: Ia411cc32f0d0ac17ce43cbe20be17773cad055a7
---
M Hooks.php
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/68/92268/1

diff --git a/Hooks.php b/Hooks.php
index 7fe6c61..758a1c5 100644
--- a/Hooks.php
+++ b/Hooks.php
@@ -737,8 +737,7 @@
         * @return bool true in all cases
         */
        static function getUnitTests( &$files ) {
-               $dir = dirname( __FILE__ ) . '/tests';
-               $files[] = "$dir/DiscussionParserTest.php";
+               $files += glob( __DIR__ . '/tests/*Test.php' );
                return true;
        }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia411cc32f0d0ac17ce43cbe20be17773cad055a7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

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

Reply via email to