We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f59aa61 + 606f258 commit 68ec45cCopy full SHA for 68ec45c
tests/lib/Share20/ManagerTest.php
@@ -1517,6 +1517,7 @@ public function testValidateExpirationDateHookModification() {
1517
1518
$save = clone $nextWeek;
1519
$save->setTime(0, 0);
1520
+ $save->sub(new \DateInterval('P2D'));
1521
$save->setTimezone(new \DateTimeZone(date_default_timezone_get()));
1522
1523
$hookListener = $this->getMockBuilder('Dummy')->setMethods(['listener'])->getMock();
@@ -1530,7 +1531,6 @@ public function testValidateExpirationDateHookModification() {
1530
1531
1532
self::invokePrivate($this->manager, 'validateExpirationDateLink', [$share]);
1533
- $save->sub(new \DateInterval('P2D'));
1534
$this->assertEquals($save, $share->getExpirationDate());
1535
}
1536
0 commit comments