Exemplo n.º 1
0
 /**
  * @covers DateUtils::getBeginningOfDay
  */
 public function testGetBeginningOfDay()
 {
     $time = 1430388542;
     $actual = \DateUtils::getBeginningOfDay($time, "Europe/Paris");
     $excepted = 1430344800;
     $this->assertSame($excepted, $actual);
 }