jenkins-bot has submitted this change and it was merged.
Change subject: Remove 'UnitTestList' hook
......................................................................
Remove 'UnitTestList' hook
No longer needed now that extension unittests are autodiscovered.
Bug: T142120
Bug: T142121
Change-Id: I27625cd0fdbfcc29b0d1a9c7dd13d985f56871fc
---
D VipsScalerHooks.php
M extension.json
R tests/phpunit/VipsScalerTest.php
3 files changed, 0 insertions(+), 16 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/VipsScalerHooks.php b/VipsScalerHooks.php
deleted file mode 100644
index a0ac13b..0000000
--- a/VipsScalerHooks.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-class VipsScalerHooks {
- /**
- * @param $files array
- * @return bool
- */
- public static function onUnitTestsList ( &$files ) {
- $files[] = __DIR__ . '/tests/VipsScalerTest.php';
- return true;
- }
-}
diff --git a/extension.json b/extension.json
index 2a12427..21f5203 100644
--- a/extension.json
+++ b/extension.json
@@ -8,7 +8,6 @@
"license-name": "GPL-2.0+",
"type": "media",
"AutoloadClasses": {
- "VipsScalerHooks": "VipsScalerHooks.php",
"VipsScaler": "VipsScaler_body.php",
"VipsCommand": "VipsScaler_body.php",
"VipsConvolution": "VipsScaler_body.php",
@@ -38,9 +37,6 @@
],
"BitmapHandlerCheckImageArea": [
"VipsScaler::onBitmapHandlerCheckImageArea"
- ],
- "UnitTestsList": [
- "VipsScalerHooks::onUnitTestsList"
]
},
"ResourceModules": {
diff --git a/tests/VipsScalerTest.php b/tests/phpunit/VipsScalerTest.php
similarity index 100%
rename from tests/VipsScalerTest.php
rename to tests/phpunit/VipsScalerTest.php
--
To view, visit https://gerrit.wikimedia.org/r/304142
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I27625cd0fdbfcc29b0d1a9c7dd13d985f56871fc
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/VipsScaler
Gerrit-Branch: master
Gerrit-Owner: Reedy <[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