BUGFIX: SecurityTest fails when running tests at 12am

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@58559 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2008-07-21 12:21:53 +00:00
parent a5ee9976f4
commit 7b278290b4

View File

@ -77,7 +77,7 @@ class SecurityTest extends SapphireTest {
// (We fake this by re-setting LockedOutUntil)
$member = DataObject::get_by_id("Member", $this->idFromFixture('Member', 'test'));
$member->LockedOutUntil = date('Y-m-d h:i:s', time() - 30);
$member->LockedOutUntil = date('Y-m-d H:i:s', time() - 30);
$member->write();
$this->doTestLoginForm('sam@silverstripe.com' , '1nitialPassword', $session);