public function setUp()
 {
     parent::setUp();
     self::$LAST_EDIT_DATE = new \DateTime('now');
     self::$LAST_EDIT_DATE_2 = new \DateTime('yesterday');
     self::$CREATION_DATE = new \DateTime('now');
     self::$CREATION_DATE_2 = new \DateTime('yesterday');
 }
 public function setUp()
 {
     parent::setUp();
     self::$DATE = new DateTime('now');
     self::$DATE_2 = new DateTime('yesterday');
 }
 public function setUp()
 {
     parent::setUp();
 }
Example #4
0
 public function setUp()
 {
     parent::setUp();
     self::$testDate = new DateTime('now', new DateTimeZone('UTC'));
     self::$testChangedDate = new DateTime('yesterday', new DateTimeZone('UTC'));
 }