示例#1
0
 /**
  * @covers DateUtils::modifyTimestamp
  */
 public function testModifyTimestamp()
 {
     $time = 1430403672;
     $actual = \DateUtils::modifyTimestamp($time, "+1 day");
     $excepted = "1430490072";
     $this->assertSame($excepted, $actual);
 }