From 55d33e13b0e4dfd1267d07601ee5a661d0ed5c60 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Tue, 1 Mar 2016 12:21:00 +0000 Subject: [PATCH] Check VE is available before running unit tests Bug: T127763 Change-Id: I2ad8814d39b16ce5918d9f53ba9bf4bf59a0cbe9 --- CiteHooks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CiteHooks.php b/CiteHooks.php index a2df9ef40..d3cabdd38 100644 --- a/CiteHooks.php +++ b/CiteHooks.php @@ -44,8 +44,8 @@ class CiteHooks { $resourceModules = $resourceLoader->getConfig()->get( 'ResourceModules' ); if ( - isset( $resourceModules[ 'ext.cite.visualEditor' ] ) || - $resourceLoader->isModuleRegistered( 'ext.cite.visualEditor' ) + isset( $resourceModules[ 'ext.visualEditor.mediawiki' ] ) || + $resourceLoader->isModuleRegistered( 'ext.visualEditor.mediawiki' ) ) { $testModules['qunit']['ext.cite.visualEditor.test'] = array( 'scripts' => array(