mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
fix cs
This commit is contained in:
parent
3aaecc8630
commit
8f462da627
@ -17,7 +17,6 @@ use Chill\PersonBundle\Entity\Household\Position;
|
|||||||
use Chill\PersonBundle\Entity\Person;
|
use Chill\PersonBundle\Entity\Person;
|
||||||
use DateTimeImmutable;
|
use DateTimeImmutable;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use Prophecy\PhpUnit\ProphecyTrait;
|
|
||||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||||
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
|
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
|
||||||
|
|
||||||
@ -27,10 +26,10 @@ use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
|
|||||||
*/
|
*/
|
||||||
final class HouseholdNormalizerTest extends KernelTestCase
|
final class HouseholdNormalizerTest extends KernelTestCase
|
||||||
{
|
{
|
||||||
private ?NormalizerInterface $normalizer;
|
|
||||||
|
|
||||||
private EntityManagerInterface $entityManager;
|
private EntityManagerInterface $entityManager;
|
||||||
|
|
||||||
|
private ?NormalizerInterface $normalizer;
|
||||||
|
|
||||||
private array $toDelete;
|
private array $toDelete;
|
||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
@ -54,8 +53,7 @@ final class HouseholdNormalizerTest extends KernelTestCase
|
|||||||
$member->setPerson($person)
|
$member->setPerson($person)
|
||||||
->setStartDate(new DateTimeImmutable('1 year ago'))
|
->setStartDate(new DateTimeImmutable('1 year ago'))
|
||||||
->setEndDate(new DateTimeImmutable('1 month ago'))
|
->setEndDate(new DateTimeImmutable('1 month ago'))
|
||||||
->setPosition($position)
|
->setPosition($position);
|
||||||
;
|
|
||||||
|
|
||||||
$household->addMember($member);
|
$household->addMember($member);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user