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