mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Remove redundant lines in test
This commit is contained in:
parent
4302506471
commit
95972399a1
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user