Fixed some inspection issues

This commit is contained in:
Jan Böhmer 2022-12-18 19:45:04 +01:00
parent c6f1758a18
commit 8ae4e9fe05
39 changed files with 46 additions and 56 deletions

View file

@ -68,9 +68,9 @@ class PartProviderTest extends WebTestCase
protected function setUp(): void
{
self::bootKernel();
$this->service = self::$container->get(PartProvider::class);
$this->service = self::getContainer()->get(PartProvider::class);
$this->target = new Part();
$this->em = self::$container->get(EntityManagerInterface::class);
$this->em = self::getContainer()->get(EntityManagerInterface::class);
$this->target->setCategory($this->em->find(Category::class, 6));
$this->target->setFootprint($this->em->find(Footprint::class, 6));