From 79ce840e5ad021731a694b7e01e2d78d5acbb7e1 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Fri, 5 May 2017 14:58:24 +0200 Subject: [PATCH] Fix paths in InstallTest.php --- tests/Install/InstallTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Install/InstallTest.php b/tests/Install/InstallTest.php index c85d084f7..c86fe7fa5 100644 --- a/tests/Install/InstallTest.php +++ b/tests/Install/InstallTest.php @@ -16,8 +16,8 @@ if (!defined('NN_INSTALLER')) { define('NN_INSTALLER', true); } -require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'bootstrap.php'; -include_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'nntmux' . DIRECTORY_SEPARATOR . 'constants.php'; +require_once dirname(__DIR__, 2) . DIRECTORY_SEPARATOR . 'bootstrap.php'; +include_once dirname(__DIR__, 2) . DIRECTORY_SEPARATOR . 'nntmux' . DIRECTORY_SEPARATOR . 'constants.php'; use app\extensions\util\Versions; use nntmux\config\Configure;