mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing duplicate class names.
This commit is contained in:
parent
608ea6df42
commit
e6824e6a41
1 changed files with 3 additions and 6 deletions
|
@ -17,9 +17,6 @@
|
|||
* @since CakePHP(tm) v 1.2.0.4206
|
||||
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
|
||||
*/
|
||||
if (!defined('CAKEPHP_UNIT_TEST_EXECUTION')) {
|
||||
define('CAKEPHP_UNIT_TEST_EXECUTION', 1);
|
||||
}
|
||||
App::import('Component', 'Acl');
|
||||
App::import('Core', 'db_acl');
|
||||
|
||||
|
@ -228,12 +225,12 @@ class DbAroUserTest extends CakeTestModel {
|
|||
}
|
||||
|
||||
/**
|
||||
* DbAclTest class
|
||||
* TestDbAcl class
|
||||
*
|
||||
* @package cake
|
||||
* @subpackage cake.tests.cases.libs.controller.components
|
||||
*/
|
||||
class DbAclTest extends DbAcl {
|
||||
class TestDbAcl extends DbAcl {
|
||||
|
||||
/**
|
||||
* construct method
|
||||
|
@ -272,7 +269,7 @@ class AclNodeTest extends CakeTestCase {
|
|||
* @return void
|
||||
*/
|
||||
function setUp() {
|
||||
Configure::write('Acl.classname', 'DbAclTest');
|
||||
Configure::write('Acl.classname', 'TestDbAcl');
|
||||
Configure::write('Acl.database', 'test_suite');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue