Skip to content

Commit

Permalink
Adding CRAFT_TESTS_PATH so tests run.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmrt committed Aug 5, 2020
1 parent 579788f commit 71e408c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/_bootstrap.php
Expand Up @@ -3,6 +3,7 @@
ini_set('date.timezone', 'UTC');
date_default_timezone_set('UTC');
// Use the current installation of Craft
define('CRAFT_TESTS_PATH', __DIR__);
define('CRAFT_STORAGE_PATH', __DIR__ . DIRECTORY_SEPARATOR . '_craft' . DIRECTORY_SEPARATOR . 'storage');
define('CRAFT_TEMPLATES_PATH', __DIR__ . DIRECTORY_SEPARATOR . '_craft' . DIRECTORY_SEPARATOR . 'templates');
define('CRAFT_CONFIG_PATH', __DIR__ . DIRECTORY_SEPARATOR . '_craft' . DIRECTORY_SEPARATOR . 'config');
Expand Down

0 comments on commit 71e408c

Please sign in to comment.