mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-15 04:44:36 +02:00
Fixed typos
This commit is contained in:
parent
63df16a369
commit
d04d743520
144 changed files with 263 additions and 265 deletions
|
@ -44,7 +44,7 @@ class TreeViewGeneratorTest extends WebTestCase
|
|||
{
|
||||
parent::setUp(); // TODO: Change the autogenerated stub
|
||||
|
||||
//Get an service instance.
|
||||
//Get a service instance.
|
||||
self::bootKernel();
|
||||
$this->service = self::getContainer()->get(TreeViewGenerator::class);
|
||||
$this->em = self::getContainer()->get(EntityManagerInterface::class);
|
||||
|
@ -99,7 +99,7 @@ class TreeViewGeneratorTest extends WebTestCase
|
|||
//First element should link to new category
|
||||
$this->assertStringContainsStringIgnoringCase('New', $tree[0]->getText());
|
||||
$this->assertSame('/en/category/new', $tree[0]->getHref());
|
||||
//By default the new element node is selected
|
||||
//By default, the new element node is selected
|
||||
$this->assertTrue($tree[0]->getState()->getSelected());
|
||||
|
||||
//Next element is spacing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue