diff --git a/cake/tests/cases/libs/controller/component.test.php b/cake/tests/cases/libs/controller/component.test.php index 063167ddc..9808c838d 100644 --- a/cake/tests/cases/libs/controller/component.test.php +++ b/cake/tests/cases/libs/controller/component.test.php @@ -66,7 +66,7 @@ if (!class_exists('AppController')) { var $components = array('Orange' => array('colour' => 'blood orange')); } -} else { +} else if (!defined('APP_CONTROLLER_EXISTS')){ define('APP_CONTROLLER_EXISTS', true); } /**