diff --git a/lib/Cake/Console/Command/Task/TestTask.php b/lib/Cake/Console/Command/Task/TestTask.php index 342494e57..a4c4e936b 100644 --- a/lib/Cake/Console/Command/Task/TestTask.php +++ b/lib/Cake/Console/Command/Task/TestTask.php @@ -19,6 +19,10 @@ App::uses('AppShell', 'Console/Command'); App::uses('BakeTask', 'Console/Command/Task'); App::uses('ClassRegistry', 'Utility'); +if (!defined('TESTS')) { + define('TESTS', APP . 'Test' . DS); +} + /** * Task class for creating and updating test files. *