mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-16 14:39:37 +00:00
Ran rector and made tests final
This commit is contained in:
parent
43d72faf48
commit
b21d294cf8
162 changed files with 407 additions and 393 deletions
|
|
@ -28,10 +28,8 @@ use App\Services\Attachments\AttachmentPathResolver;
|
|||
use const DIRECTORY_SEPARATOR;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
|
||||
class AttachmentPathResolverTest extends WebTestCase
|
||||
final class AttachmentPathResolverTest extends WebTestCase
|
||||
{
|
||||
protected string $media_path;
|
||||
protected string $footprint_path;
|
||||
protected $projectDir_orig;
|
||||
protected $projectDir;
|
||||
/**
|
||||
|
|
@ -46,8 +44,8 @@ class AttachmentPathResolverTest extends WebTestCase
|
|||
|
||||
$this->projectDir_orig = realpath(self::$kernel->getProjectDir());
|
||||
$this->projectDir = str_replace('\\', '/', $this->projectDir_orig);
|
||||
$this->media_path = $this->projectDir.'/public/media';
|
||||
$this->footprint_path = $this->projectDir.'/public/img/footprints';
|
||||
$media_path = $this->projectDir.'/public/media';
|
||||
$footprint_path = $this->projectDir.'/public/img/footprints';
|
||||
|
||||
$this->service = self::getContainer()->get(AttachmentPathResolver::class);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue