Changeset 154 for trunk/tests/Auth_FileTest.php
- Timestamp:
- Jun 8, 2006 5:36:10 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/Auth_FileTest.php
r149 r154 45 45 $result = $this->Auth_File->login('testuser', 'testpass'); 46 46 $this->assertTrue($result, 'testuser login failed.'); 47 $this->assertTrue($_SESSION[ $this->Auth_File->_ns]['authenticated'], 'testuser authentication not found in session.');47 $this->assertTrue($_SESSION['_auth_file'][$this->Auth_File->_ns]['authenticated'], 'testuser authentication not found in session.'); 48 48 } 49 49 … … 52 52 $result = $this->Auth_File->login('testuser', 'testpass'); 53 53 $this->Auth_File->clear(); 54 $this->assertFalse($_SESSION[ $this->Auth_File->_ns]['authenticated'], 'testuser authentication not false in session.');54 $this->assertFalse($_SESSION['_auth_file'][$this->Auth_File->_ns]['authenticated'], 'testuser authentication not false in session.'); 55 55 } 56 56
Note: See TracChangeset
for help on using the changeset viewer.