Development

Changeset 7575

You must first sign up to be able to contribute.

Changeset 7575

Show
Ignore:
Timestamp:
02/22/08 07:09:49 (9 months ago)
Author:
Carl.Vondrick
Message:

1.0: added unit test for sfDateValidator (refs #2597)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/test/unit/sfContextMock.class.php

    r4189 r7575  
    6161    return $storage; 
    6262  } 
     63 
     64  public function getUser() 
     65  { 
     66    static $user; 
     67 
     68    if (!$user) 
     69    { 
     70      $user = new sfUser; 
     71      $user->initialize($this); 
     72    } 
     73 
     74    return $user; 
     75  } 
    6376}