aboutsummaryrefslogtreecommitdiff
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r--tests/bootstrap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index f988855e6..6aee8b96f 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -5,5 +5,5 @@ ini_set('display_errors', '1');
const COPY_LOG_TO_SYSLOG = false;
-require(__DIR__ . '/../constants.php');
-require(LIB_PATH . '/lib_rss.php'); //Includes class autoloader
+require dirname(__DIR__) . '/constants.php';
+require LIB_PATH . '/lib_rss.php'; //Includes class autoloader