From 6ed71add43f0f73c10c1ea3788f3a22c89f2b5a5 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Tue, 11 Sep 2012 19:17:18 +0200 Subject: [PATCH] Fix the path to the maintenance directory. There was one dirname() too much. Change-Id: I1531a9bad7f6709b693a3d063462cf06c3f85891 --- tests/jasmine/spec_makers/makeJqueryMsgSpec.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/jasmine/spec_makers/makeJqueryMsgSpec.php b/tests/jasmine/spec_makers/makeJqueryMsgSpec.php index 43015878af..1b6e2059e6 100644 --- a/tests/jasmine/spec_makers/makeJqueryMsgSpec.php +++ b/tests/jasmine/spec_makers/makeJqueryMsgSpec.php @@ -8,13 +8,13 @@ * which can be used with the JasmineBDD framework. This specification can then be used by simply including it into * the SpecRunner.html file. * - * This is similar to Michael Dale (mdale@mediawiki.org)'s parser tests, except that it doesn't look up the + * This is similar to Michael Dale (mdale@mediawiki.org)'s parser tests, except that it doesn't look up the * API results while doing the test, so the Jasmine run is much faster(at the cost of being out of date in rare * circumstances. But mostly the parsing that we are doing in Javascript doesn't change much.) * - */ + */ -$maintenanceDir = dirname( dirname( dirname( dirname( __DIR__ ) ) ) ) . '/maintenance'; +$maintenanceDir = dirname( dirname( dirname( __DIR__ ) ) ) . '/maintenance'; require( "$maintenanceDir/Maintenance.php" ); -- 2.20.1