fix billable calculation on timesheet restart (#3225)

This commit is contained in:
Kevin Papst
2022-03-29 23:24:22 +02:00
committed by GitHub
parent 2c2ba2e32c
commit 31743cf962
5 changed files with 204 additions and 32 deletions

View File

@@ -79,7 +79,7 @@ class TimesheetLongRunningValidatorTest extends ConstraintValidatorTestCase
$timesheet = new Timesheet();
$timesheet->setBegin(new \DateTime());
$timesheet->setEnd(new \DateTime());
$timesheet->setDuration(31536001);
$timesheet->setDuration(31536060);
$this->validator->validate($timesheet, new TimesheetLongRunning());