Mooeypoo has uploaded a new change for review. https://gerrit.wikimedia.org/r/311833
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(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Cite refs/changes/33/311833/1 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: newchange Gerrit-Change-Id: I0e2f3296daff1aff5d417a9e8f8ae7eadfe78982 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Cite Gerrit-Branch: master Gerrit-Owner: Mooeypoo <mor...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits