chore(tests): UT for BackupFileHelper class

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-02-04 10:15:28 +01:00
parent 1205f42bb0
commit 6f3ed10144
21 changed files with 463 additions and 131 deletions

View File

@@ -40,7 +40,7 @@ use SP\Domain\Core\Context\SessionContextInterface;
use SP\Domain\Core\Exceptions\FileNotFoundException;
use SP\Domain\Core\Exceptions\SessionTimeout;
use SP\Domain\Core\Exceptions\SPException;
use SP\Domain\Core\PhpExtensionCheckerInterface;
use SP\Domain\Core\PhpExtensionCheckerService;
use SP\Domain\Core\UI\ThemeInterface;
use SP\Domain\Http\RequestInterface;
use SP\Domain\User\Services\UserLoginResponse;
@@ -69,9 +69,9 @@ abstract class ControllerBase
protected ThemeInterface $theme;
protected AclInterface $acl;
protected ConfigDataInterface $configData;
protected RequestInterface $request;
protected PhpExtensionCheckerInterface $extensionChecker;
protected TemplateInterface $view;
protected RequestInterface $request;
protected PhpExtensionCheckerService $extensionChecker;
protected TemplateInterface $view;
protected ?UserLoginResponse $userData = null;
protected ?ProfileData $userProfileData = null;
protected bool $isAjax;