forked from mirror/Part-DB.Part-DB-server
Fixed typos
This commit is contained in:
parent
63df16a369
commit
d04d743520
144 changed files with 263 additions and 265 deletions
|
@ -35,7 +35,7 @@ class PartNormalizerTest extends WebTestCase
|
|||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
//Get an service instance.
|
||||
//Get a service instance.
|
||||
self::bootKernel();
|
||||
$this->service = self::getContainer()->get(PartNormalizer::class);
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ class StructuralElementDenormalizerTest extends WebTestCase
|
|||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
//Get an service instance.
|
||||
//Get a service instance.
|
||||
self::bootKernel();
|
||||
$this->service = self::getContainer()->get(StructuralElementDenormalizer::class);
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ class StructuralElementFromNameDenormalizerTest extends WebTestCase
|
|||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
//Get an service instance.
|
||||
//Get a service instance.
|
||||
self::bootKernel();
|
||||
$this->service = self::getContainer()->get(StructuralElementFromNameDenormalizer::class);
|
||||
}
|
||||
|
@ -108,7 +108,7 @@ class StructuralElementFromNameDenormalizerTest extends WebTestCase
|
|||
$this->assertNotNull($category->getID());
|
||||
$this->assertNotNull($category->getParent()->getID());
|
||||
|
||||
//Test with non existing category
|
||||
//Test with non-existing category
|
||||
$category = $this->service->denormalize('New category', Category::class, null, $context);
|
||||
$this->assertNull($category);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue