mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
remove CAKE_TESTS constant
This commit is contained in:
parent
0cb70ae3bb
commit
8f071e297c
4 changed files with 17 additions and 24 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue