mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-09 01:46:57 +01:00
chore(tests): UT for MinifyCss
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -35,8 +35,7 @@ final class MinifyFile
|
||||
{
|
||||
public function __construct(
|
||||
private readonly FileHandlerInterface $fileHandler,
|
||||
private readonly bool $minify,
|
||||
private readonly bool $insecure
|
||||
private readonly bool $minify
|
||||
) {
|
||||
}
|
||||
|
||||
@@ -55,13 +54,6 @@ final class MinifyFile
|
||||
return HttpRequest::getSecureAppFile($this->fileHandler->getName(), $this->fileHandler->getBase());
|
||||
}
|
||||
|
||||
public function getBase(): string
|
||||
{
|
||||
return $this->insecure ? HttpRequest::getSecureAppPath(
|
||||
$this->fileHandler->getBase()
|
||||
) : $this->fileHandler->getBase();
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws FileException
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user