mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-08 11:19:33 +00:00
Fixed typos
This commit is contained in:
parent
63df16a369
commit
d04d743520
144 changed files with 263 additions and 265 deletions
|
|
@ -42,7 +42,7 @@ class AttachmentPathResolverTest extends WebTestCase
|
|||
{
|
||||
parent::setUp();
|
||||
|
||||
//Get an service instance.
|
||||
//Get a service instance.
|
||||
self::bootKernel();
|
||||
|
||||
$this->projectDir_orig = realpath(self::$kernel->getProjectDir());
|
||||
|
|
@ -117,7 +117,7 @@ class AttachmentPathResolverTest extends WebTestCase
|
|||
//Every kind of absolute path, that is not based with our placeholder dirs must be invald
|
||||
['/etc/passwd', null],
|
||||
['C:\\not\\existing.txt', null],
|
||||
//More then one placeholder is not allowed
|
||||
//More than one placeholder is not allowed
|
||||
[$this->footprint_path.'/test/'.$this->footprint_path, null],
|
||||
//Path must begin with path
|
||||
['/not/root'.$this->footprint_path, null],
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ class AttachmentURLGeneratorTest extends WebTestCase
|
|||
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
//Get an service instance.
|
||||
//Get a service instance.
|
||||
self::bootKernel();
|
||||
self::$service = self::getContainer()->get(AttachmentURLGenerator::class);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ class BuiltinAttachmentsFinderTest extends WebTestCase
|
|||
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
//Get an service instance.
|
||||
//Get a service instance.
|
||||
self::bootKernel();
|
||||
self::$service = self::getContainer()->get(BuiltinAttachmentsFinder::class);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue