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';