Fix tests on PersonContextWithThirdParty: fix construction of PersonContextWithThirdPartyTest

This commit is contained in:
2023-08-28 15:32:09 +02:00
parent 667104a595
commit 847fd71364
2 changed files with 16 additions and 3 deletions

View File

@@ -27,8 +27,11 @@ use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
*/
class PersonContextWithThirdParty implements DocGeneratorContextWithAdminFormInterface, DocGeneratorContextWithPublicFormInterface
{
public function __construct(private readonly PersonContextInterface $personContext, private readonly NormalizerInterface $normalizer, private readonly ThirdPartyRepository $thirdPartyRepository)
{
public function __construct(
private readonly PersonContextInterface $personContext,
private readonly NormalizerInterface $normalizer,
private readonly ThirdPartyRepository $thirdPartyRepository
) {
}
public function adminFormReverseTransform(array $data): array