jenkins-bot has submitted this change and it was merged.

Change subject: Followup Ic6afacbf2a: Fix test file paths
......................................................................


Followup Ic6afacbf2a: Fix test file paths

The current path for the test files was wrong and broke qunit test
running in debug mode. This fix corrects the path for both debug
and non debug mode.

Change-Id: I0e2f3296daff1aff5d417a9e8f8ae7eadfe78982
---
M includes/CiteHooks.php
1 file changed, 5 insertions(+), 5 deletions(-)

Approvals:
  Catrope: Looks good to me, approved
  Jforrester: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/CiteHooks.php b/includes/CiteHooks.php
index 652cea3..efa7c5e 100644
--- a/includes/CiteHooks.php
+++ b/includes/CiteHooks.php
@@ -52,16 +52,16 @@
                ) {
                        $testModules['qunit']['ext.cite.visualEditor.test'] = [
                                'scripts' => [
-                                       
'/../modules/ve-cite/tests/ve.dm.citeExample.js',
-                                       
'/../modules/ve-cite/tests/ve.dm.Converter.test.js',
-                                       
'/../modules/ve-cite/tests/ve.dm.InternalList.test.js',
-                                       
'/../modules/ve-cite/tests/ve.dm.Transaction.test.js',
+                                       
'modules/ve-cite/tests/ve.dm.citeExample.js',
+                                       
'modules/ve-cite/tests/ve.dm.Converter.test.js',
+                                       
'modules/ve-cite/tests/ve.dm.InternalList.test.js',
+                                       
'modules/ve-cite/tests/ve.dm.Transaction.test.js',
                                ],
                                'dependencies' => [
                                        'ext.cite.visualEditor',
                                        'ext.visualEditor.test'
                                ],
-                               'localBasePath' => __DIR__,
+                               'localBasePath' => dirname( __DIR__ ),
                                'remoteExtPath' => 'Cite',
                        ];
                }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0e2f3296daff1aff5d417a9e8f8ae7eadfe78982
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Cite
Gerrit-Branch: master
Gerrit-Owner: Mooeypoo <mor...@gmail.com>
Gerrit-Reviewer: Catrope <roan.katt...@gmail.com>
Gerrit-Reviewer: Jackmcbarn <jackmcb...@gmail.com>
Gerrit-Reviewer: Jforrester <jforres...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to