mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 10:36:16 +00:00
Updating group test case, and fixing test case classname.
This commit is contained in:
parent
2e9d9479a6
commit
5ae194ec90
2 changed files with 2 additions and 1 deletions
|
@ -37,6 +37,7 @@ class AllComponentsTest extends PHPUnit_Framework_TestSuite {
|
||||||
$suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'component.test.php');
|
$suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'component.test.php');
|
||||||
$suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'component_collection.test.php');
|
$suite->addTestFile(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'component_collection.test.php');
|
||||||
$suite->addTestDirectory(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'components');
|
$suite->addTestDirectory(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'components');
|
||||||
|
$suite->addTestDirectory(CORE_TEST_CASES . DS . 'libs' . DS . 'controller' . DS . 'components' . DS . 'auth');
|
||||||
return $suite;
|
return $suite;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@ App::import('Component', 'Acl');
|
||||||
App::import('Core', 'CakeRequest');
|
App::import('Core', 'CakeRequest');
|
||||||
App::import('Core', 'Controller');
|
App::import('Core', 'Controller');
|
||||||
|
|
||||||
class ActionsAuthorizeTest extends CakeTestCase {
|
class CrudAuthorizeTest extends CakeTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* setup
|
* setup
|
||||||
|
|
Loading…
Add table
Reference in a new issue