mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
changing simpleTest test to use app import
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7720 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
42241b2b27
commit
ad059df35d
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ class Shell extends Object {
|
|||
* @access protected
|
||||
*/
|
||||
function _checkUnitTest() {
|
||||
if (is_dir(VENDORS.'simpletest') || is_dir(ROOT.DS.APP_DIR.DS.'vendors'.DS.'simpletest')) {
|
||||
if (App::import('vendor', 'simpletest/simpletest')) {
|
||||
return true;
|
||||
}
|
||||
$unitTest = $this->in('Cake test suite not installed. Do you want to bake unit test files anyway?', array('y','n'), 'y');
|
||||
|
|
Loading…
Reference in a new issue