Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixing duplicate class names.
  • Loading branch information
markstory committed Sep 25, 2010
1 parent 608ea6d commit e6824e6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions cake/tests/cases/libs/model/db_acl.test.php
Expand Up @@ -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');

Expand Down Expand Up @@ -228,12 +225,12 @@ function bindNode($ref = null) {
}

/**
* DbAclTest class
* TestDbAcl class
*
* @package cake
* @subpackage cake.tests.cases.libs.controller.components
*/
class DbAclTest extends DbAcl {
class TestDbAcl extends DbAcl {

/**
* construct method
Expand Down Expand Up @@ -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');
}

Expand Down

0 comments on commit e6824e6

Please sign in to comment.