Skip to content

Commit 9a99f04

Browse files
committed
[n/a] Resolve missing CRAFT_ROOT_PATH in tests/_bootstrap.php
1 parent b110de5 commit 9a99f04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/_bootstrap.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
ini_set('date.timezone', 'UTC');
66
date_default_timezone_set('UTC');
77

8+
define('CRAFT_ROOT_PATH', dirname(__DIR__));
9+
810
// Use the current installation of Craft
911
const CRAFT_TESTS_PATH = __DIR__;
1012
const CRAFT_STORAGE_PATH = __DIR__ . DIRECTORY_SEPARATOR . '_craft' . DIRECTORY_SEPARATOR . 'storage';

0 commit comments

Comments
 (0)