remove CAKE_TESTS constant

This commit is contained in:
AD7six 2011-04-17 13:14:34 +02:00
parent 0cb70ae3bb
commit 8f071e297c
4 changed files with 17 additions and 24 deletions

View file

@ -21,7 +21,7 @@ App::uses('CakeRequest', 'Network');
App::uses('CakeResponse', 'Network'); App::uses('CakeResponse', 'Network');
require_once CAKE_TESTS . 'Case' . DS . 'Model' . DS . 'models.php'; require_once CAKE . 'Test' . DS . 'Case' . DS . 'Model' . DS . 'models.php';
/** /**
* Test case for BasicAuthentication * Test case for BasicAuthentication

View file

@ -19,7 +19,7 @@ App::uses('AppModel', 'Model');
App::uses('CakeRequest', 'Network'); App::uses('CakeRequest', 'Network');
App::uses('CakeResponse', 'Network'); App::uses('CakeResponse', 'Network');
require_once CAKE_TESTS . 'Case' . DS . 'Model' . DS . 'models.php'; require_once CAKE . 'Test' . DS . 'Case' . DS . 'Model' . DS . 'models.php';
/** /**
* Test case for DigestAuthentication * Test case for DigestAuthentication

View file

@ -20,7 +20,7 @@ App::uses('AppModel', 'Model');
App::uses('CakeRequest', 'Network'); App::uses('CakeRequest', 'Network');
App::uses('CakeResponse', 'Network'); App::uses('CakeResponse', 'Network');
require_once CAKE_TESTS . 'Case' . DS . 'Model' . DS . 'models.php'; require_once CAKE . 'Test' . DS . 'Case' . DS . 'Model' . DS . 'models.php';
/** /**
* Test case for FormAuthentication * Test case for FormAuthentication

View file

@ -75,13 +75,6 @@ if (!defined('TESTS')) {
define('TESTS', APP.'Test'.DS); define('TESTS', APP.'Test'.DS);
} }
/**
* Path to the core tests directory.
*/
if (!defined('CAKE_TESTS')) {
define('CAKE_TESTS', CAKE.'Test'.DS);
}
/** /**
* Path to the temporary files directory. * Path to the temporary files directory.
*/ */