From 9c3dfee2d3d60677aee76bc416b0f613ba4173fb Mon Sep 17 00:00:00 2001 From: phpnut Date: Mon, 9 Jul 2007 06:44:04 +0000 Subject: [PATCH] Disabling AuthTest until code is wrote to use temporary tables git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5426 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/controller/components/auth.test.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cake/tests/cases/libs/controller/components/auth.test.php b/cake/tests/cases/libs/controller/components/auth.test.php index 49f74c114..7d2e52916 100644 --- a/cake/tests/cases/libs/controller/components/auth.test.php +++ b/cake/tests/cases/libs/controller/components/auth.test.php @@ -86,6 +86,10 @@ class AuthTest extends CakeTestCase { var $name = 'Auth'; var $fixtures = array('core.auth_user', 'core.aco', 'core.aro', 'core.aros_aco'); + function skip() { + $this->skipIf(true, 'Auth tests currently disabled, to test use a clean database with tables needed for acl and comment out this line'); + } + function setUp() { $this->Controller =& new AuthTestController(); restore_error_handler(); @@ -125,7 +129,7 @@ class AuthTest extends CakeTestCase { $this->assertEqual($user, array('AuthUser'=>array('id'=>1, 'username'=>'mariano', 'created'=> '2007-03-17 01:16:23', 'updated'=> date('Y-m-d H:i:s')))); $this->Controller->Session->del('Auth'); } - + function testAuthFalse() { $this->AuthUser =& new AuthUser(); $user = $this->AuthUser->find(); @@ -135,7 +139,7 @@ class AuthTest extends CakeTestCase { $result = $this->Controller->Auth->startup($this->Controller); $this->assertTrue($result); } - + function testAuthController(){ $this->AuthUser =& new AuthUser(); $user = $this->AuthUser->find();