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
This commit is contained in:
phpnut 2007-07-09 06:44:04 +00:00
parent d2b4701a11
commit 9c3dfee2d3

View file

@ -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();