[export] fix acpw socialWork agent ScopeFilter query + unit test (partial)

This commit is contained in:
2023-09-27 16:13:11 +02:00
parent bc69f83c37
commit aeb0d5eab8
5 changed files with 65 additions and 36 deletions

View File

@@ -12,6 +12,7 @@ declare(strict_types=1);
namespace Chill\PersonBundle\Tests\Export\Filter\SocialWorkFilters;
use Chill\MainBundle\Entity\Scope;
use Chill\MainBundle\Service\RollingDate\RollingDate;
use Chill\MainBundle\Test\Export\AbstractFilterTest;
use Chill\PersonBundle\Entity\AccompanyingPeriod\AccompanyingPeriodWork;
use Chill\PersonBundle\Export\Filter\SocialWorkFilters\ScopeFilter;
@@ -48,7 +49,8 @@ final class ScopeFilterTest extends AbstractFilterTest
return [
[
'scope' => $scopes
'scope' => $scopes,
'scope_at' => new RollingDate(RollingDate::T_FIXED_DATE, \DateTimeImmutable::createFromFormat('Y-m-d', '2020-01-01'))
]
];
}