mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-31 23:40:20 +02:00
Fixed some inspection issues
This commit is contained in:
parent
c6f1758a18
commit
8ae4e9fe05
39 changed files with 46 additions and 56 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue