Ignore:
Timestamp:
Nov 13, 2005 4:51:22 AM (19 years ago)
Author:
scdev
Message:

M trunk/tests/run_tests.sh
Now can run tests without being in tests dir.

M trunk/tests/_config.inc.php
No change

M trunk/tests/Auth_SQLTest.php
...

M trunk/lib/RecordVersion.inc.php
Removed debugging.

M trunk/lib/DB.inc.php
Added die on connect error only if db_die_on_failure is true.

M trunk/lib/DBSessionHandler.inc.php
Added more accurate error-checking.

M trunk/lib/FormValidator.inc.php
Fixed email regex bugs.

M trunk/lib/SpellCheck.inc.php
Integrated lots of bug fixes from UK update.

M trunk/lib/Auth_SQL.inc.php
Lots of minor bug fixes.

M trunk/lib/App.inc.php
A couple minor bug fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/Auth_SQLTest.php

    r14 r15  
    106106        $true = $this->Auth_SQL->authenticate('testuser', 'testpass');
    107107        $this->assertTrue($true, 'User login failed, but should have succeeded.');
     108
     109        echo "Testing wrong password...\n";
    108110        $false = $this->Auth_SQL->authenticate('testuser', 'wrongpass');
     111
    109112        $this->assertfalse($false, 'User login succeeded, but should have failed.');
    110113    }
     
    120123        $this->assertFalse($after_logged_in, '3. User is still logged in but should not be.');
    121124
     125        echo "Testing wrong password...\n";
    122126        $login2 = $this->Auth_SQL->login('testuser', 'wrongpass');
    123127        $this->assertFalse($login2, '4. User login succeeded, but should have failed.');
Note: See TracChangeset for help on using the changeset viewer.