From 0f10fcd21c384b54d47775fc38a4928db02088bf Mon Sep 17 00:00:00 2001 From: Joshua Pease Date: Mon, 3 Feb 2025 17:31:07 -0800 Subject: [PATCH] [n/a] Resolve missing CRAFT_ROOT_PATH in tests/_bootstrap.php --- tests/_bootstrap.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/_bootstrap.php b/tests/_bootstrap.php index 1b26e57..68a41d7 100644 --- a/tests/_bootstrap.php +++ b/tests/_bootstrap.php @@ -5,6 +5,8 @@ ini_set('date.timezone', 'UTC'); date_default_timezone_set('UTC'); +define('CRAFT_ROOT_PATH', dirname(__DIR__)); + // Use the current installation of Craft const CRAFT_TESTS_PATH = __DIR__; const CRAFT_STORAGE_PATH = __DIR__ . DIRECTORY_SEPARATOR . '_craft' . DIRECTORY_SEPARATOR . 'storage';