Christopher Johnson (WMDE) has uploaded a new change for review.
https://gerrit.wikimedia.org/r/173985
Change subject: fix relative path in bootstrap
......................................................................
fix relative path in bootstrap
Change-Id: I6ac22f7130759301cc99d6e7205791ae09bf9497
---
M src/tests/bootstrap.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/phabricator/extensions/Sprint
refs/changes/85/173985/1
diff --git a/src/tests/bootstrap.php b/src/tests/bootstrap.php
index 1d046d4..80968a0 100644
--- a/src/tests/bootstrap.php
+++ b/src/tests/bootstrap.php
@@ -1,7 +1,7 @@
<?php
-
-require_once('../constants/SprintConstants.php');
+$root = dirname(dirname(__FILE__));
+require_once $root. '/constants/SprintConstants.php';
require_once( SprintConstants::ROOT_DIR .
'/libext/Sprint/src/tests/Autoloader.php');
require_once(SprintConstants::LIBPHUTIL_ROOT_DIR .
'/src/internationalization/pht.php');
require_once(SprintConstants::LIBPHUTIL_ROOT_DIR . '/src/utils/utils.php');
--
To view, visit https://gerrit.wikimedia.org/r/173985
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6ac22f7130759301cc99d6e7205791ae09bf9497
Gerrit-PatchSet: 1
Gerrit-Project: phabricator/extensions/Sprint
Gerrit-Branch: master
Gerrit-Owner: Christopher Johnson (WMDE) <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits