mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-03 05:55:16 +01:00
Fixed PHPunit tests
This commit is contained in:
@@ -41,6 +41,9 @@ class StructuralElementNormalizerTest extends WebTestCase
|
||||
//Get an service instance.
|
||||
self::bootKernel();
|
||||
$this->service = self::getContainer()->get(StructuralElementNormalizer::class);
|
||||
//Inject the serializer, as the normalizer as this is not handled by the DI container
|
||||
$this->service->setNormalizer(self::getContainer()->get('serializer'));
|
||||
|
||||
}
|
||||
|
||||
public function testNormalize(): void
|
||||
|
||||
Reference in New Issue
Block a user