Changeset 149 for trunk/tests/Auth_FileTest.php
- Timestamp:
- Jun 5, 2006 2:34:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/Auth_FileTest.php
r136 r149 48 48 } 49 49 50 function test_clear auth()50 function test_clear() 51 51 { 52 52 $result = $this->Auth_File->login('testuser', 'testpass'); 53 $this->Auth_File->clear auth();53 $this->Auth_File->clear(); 54 54 $this->assertFalse($_SESSION[$this->Auth_File->_ns]['authenticated'], 'testuser authentication not false in session.'); 55 55 } … … 61 61 $this->assertTrue($true, 'testuser not logged in but should be.'); 62 62 63 $this->Auth_File->clear auth();63 $this->Auth_File->clear(); 64 64 $false = $this->Auth_File->isloggedin(); 65 65 $this->assertFalse($false, 'testuser is logged in but shouldn\'t be.');
Note: See TracChangeset
for help on using the changeset viewer.