jenkins-bot has submitted this change and it was merged.
Change subject: Check VE is available before running unit tests
......................................................................
Check VE is available before running unit tests
Bug: T127763
Change-Id: Ic5eef55c3327f95362e2f69fbebc86be306790f7
---
M includes/Graph.hooks.php
1 file changed, 4 insertions(+), 1 deletion(-)
Approvals:
Jforrester: Looks good to me, approved
Yurik: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/Graph.hooks.php b/includes/Graph.hooks.php
index 2fbea28..1b0e3c3 100644
--- a/includes/Graph.hooks.php
+++ b/includes/Graph.hooks.php
@@ -22,7 +22,10 @@
public static function onResourceLoaderTestModules( array
&$testModules, ResourceLoader &$resourceLoader ) {
$resourceModules = $resourceLoader->getConfig()->get(
'ResourceModules' );
- if ( isset( $resourceModules[ 'ext.graph.visualEditor' ] ) ||
$resourceLoader->isModuleRegistered( 'ext.graph.visualEditor' ) ) {
+ if (
+ isset( $resourceModules[ 'ext.visualEditor.mediawiki' ]
) ||
+ $resourceLoader->isModuleRegistered(
'ext.visualEditor.mediawiki' )
+ ) {
$testModules['qunit']['ext.graph.visualEditor.test'] =
array(
'scripts' => array(
'modules/ve-graph/tests/ext.graph.visualEditor.test.js'
--
To view, visit https://gerrit.wikimedia.org/r/274093
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic5eef55c3327f95362e2f69fbebc86be306790f7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Graph
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: Yurik <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits