Remove redundant lines in test

This commit is contained in:
Julie Lenaerts 2025-03-24 15:28:58 +01:00
parent 4302506471
commit 95972399a1

View File

@ -15,7 +15,6 @@ use Chill\ThirdPartyBundle\Entity\ThirdParty;
use Chill\ThirdPartyBundle\Entity\ThirdPartyCategory;
use Chill\ThirdPartyBundle\Service\ThirdpartyMergeService;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\Tools\SchemaTool;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
/**
@ -33,9 +32,6 @@ class ThirdpartyMergeServiceTest extends KernelTestCase
self::bootKernel();
$this->em = self::getContainer()->get(EntityManagerInterface::class);
$schemaTool = new SchemaTool($this->em);
$schemaTool->updateSchema($this->em->getMetadataFactory()->getAllMetadata());
$this->service = new ThirdpartyMergeService($this->em);
}