Hashar has submitted this change and it was merged.
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(-)
Approvals:
Hashar: Verified; Looks good to me, approved
EBernhardson: Verified; Looks good to me, approved
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: merged
Gerrit-Change-Id: Ia411cc32f0d0ac17ce43cbe20be17773cad055a7
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits