Esempio n. 1
0
 /**
  * @covers DateUtils::getBeginningOfWeek
  */
 public function testGetBeginningOfWeek()
 {
     $time = 1430388542;
     $actual = \DateUtils::getBeginningOfWeek($time, "Europe/Paris");
     $excepted = 1430085600;
     $this->assertSame($excepted, $actual);
 }