mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 17:55:03 +02:00
Fixed code style.
This commit is contained in:
parent
2853e471c4
commit
d0b1024d80
212 changed files with 495 additions and 1005 deletions
|
@ -87,7 +87,7 @@ class AttachmentPathResolverTest extends WebTestCase
|
|||
$this->assertSame(self::$projectDir_orig, self::$service->parameterToAbsolutePath(self::$projectDir));
|
||||
|
||||
//Relative pathes should be resolved
|
||||
$expected = str_replace('\\', '/',self::$projectDir_orig.DIRECTORY_SEPARATOR.'src');
|
||||
$expected = str_replace('\\', '/', self::$projectDir_orig.DIRECTORY_SEPARATOR.'src');
|
||||
$this->assertSame($expected, self::$service->parameterToAbsolutePath('src'));
|
||||
$this->assertSame($expected, self::$service->parameterToAbsolutePath('./src'));
|
||||
|
||||
|
|
|
@ -65,7 +65,8 @@ class LabelGeneratorTest extends WebTestCase
|
|||
$this->assertTrue($this->service->supports($options, new $class()));
|
||||
|
||||
//Ensure that another class is not supported
|
||||
$not_supported = new class() extends AbstractDBElement {};
|
||||
$not_supported = new class() extends AbstractDBElement {
|
||||
};
|
||||
|
||||
$this->assertFalse($this->service->supports($options, $not_supported));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue