From daaa3ee1efde812da9b2ebf34bb3bff77b255d96 Mon Sep 17 00:00:00 2001 From: Awilum Date: Thu, 9 Jun 2022 20:16:47 +0300 Subject: [PATCH] =?UTF-8?q?feat(tests):=20new=20constants=20`PATH=5FPROJEC?= =?UTF-8?q?T`=20and=20`PATH=5FTMP`=20instead=20of=20old=20c=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/Pest.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/Pest.php b/tests/Pest.php index 95410a39..32370230 100644 --- a/tests/Pest.php +++ b/tests/Pest.php @@ -5,10 +5,8 @@ declare(strict_types=1); namespace Flextype; define('ROOT_DIR', str_replace(DIRECTORY_SEPARATOR, '/', getcwd())); -define('PATH', [ - 'project' => ROOT_DIR . '/project', - 'tmp' => ROOT_DIR . '/var/tmp', -]); +define('PATH_PROJECT', ROOT_DIR . '/project'); +define('PATH_TMP', ROOT_DIR . '/var/tmp'); ! is_file($flextype_autoload = ROOT_DIR . '/vendor/autoload.php') and exit('Please run: composer install for flextype'); $flextype_loader = require_once $flextype_autoload;