Changeset 15 for trunk/tests/Auth_SQLTest.php
- Timestamp:
- Nov 13, 2005 4:51:22 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/Auth_SQLTest.php
r14 r15 106 106 $true = $this->Auth_SQL->authenticate('testuser', 'testpass'); 107 107 $this->assertTrue($true, 'User login failed, but should have succeeded.'); 108 109 echo "Testing wrong password...\n"; 108 110 $false = $this->Auth_SQL->authenticate('testuser', 'wrongpass'); 111 109 112 $this->assertfalse($false, 'User login succeeded, but should have failed.'); 110 113 } … … 120 123 $this->assertFalse($after_logged_in, '3. User is still logged in but should not be.'); 121 124 125 echo "Testing wrong password...\n"; 122 126 $login2 = $this->Auth_SQL->login('testuser', 'wrongpass'); 123 127 $this->assertFalse($login2, '4. User login succeeded, but should have failed.');
Note: See TracChangeset
for help on using the changeset viewer.