Fix loading of CalendarContext in CalendarContextTest. Needs to remove the final from PersonRepository

This commit is contained in:
2023-08-28 13:23:10 +02:00
parent d1e09d7047
commit e2d62d5792
3 changed files with 21 additions and 3 deletions

View File

@@ -33,8 +33,16 @@ use function count;
final readonly class CalendarContext implements CalendarContextInterface
{
public function __construct(private BaseContextData $baseContextData, private EntityManagerInterface $entityManager, private NormalizerInterface $normalizer, private PersonRender $personRender, private PersonRepository $personRepository, private ThirdPartyRender $thirdPartyRender, private ThirdPartyRepository $thirdPartyRepository, private TranslatableStringHelperInterface $translatableStringHelper)
{
public function __construct(
private BaseContextData $baseContextData,
private EntityManagerInterface $entityManager,
private NormalizerInterface $normalizer,
private PersonRender $personRender,
private PersonRepository $personRepository,
private ThirdPartyRender $thirdPartyRender,
private ThirdPartyRepository $thirdPartyRepository,
private TranslatableStringHelperInterface $translatableStringHelper
) {
}
public function adminFormReverseTransform(array $data): array