Add startDate and endDate on UserJobFilter

This commit is contained in:
2024-06-05 16:04:18 +02:00
parent 90b615c5b2
commit cbd9489810
4 changed files with 74 additions and 45 deletions

View File

@@ -50,12 +50,14 @@ final class UserJobFilterTest extends AbstractFilterTest
yield [
'jobs' => new ArrayCollection($jobs),
'date_calc' => new RollingDate(RollingDate::T_TODAY),
'start_date' => new RollingDate(RollingDate::T_YEAR_CURRENT_START),
'end_date' => new RollingDate(RollingDate::T_TODAY),
];
yield [
'jobs' => $jobs,
'date_calc' => new RollingDate(RollingDate::T_TODAY),
'start_date' => new RollingDate(RollingDate::T_YEAR_CURRENT_START),
'end_date' => new RollingDate(RollingDate::T_TODAY),
];
}