mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-11 19:06:57 +01:00
chore(tests): UT for CustomFieldCrypt service
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -36,7 +36,7 @@ use SP\Domain\Core\Exceptions\ConstraintException;
|
||||
use SP\Domain\Core\Exceptions\QueryException;
|
||||
use SP\Domain\Core\Exceptions\SessionTimeout;
|
||||
use SP\Domain\Core\Exceptions\SPException;
|
||||
use SP\Domain\CustomField\Ports\CustomFieldServiceInterface;
|
||||
use SP\Domain\CustomField\Ports\CustomFieldService;
|
||||
use SP\Domain\User\Ports\UserServiceInterface;
|
||||
use SP\Modules\Web\Controllers\ControllerBase;
|
||||
use SP\Modules\Web\Controllers\Traits\JsonTrait;
|
||||
@@ -57,12 +57,12 @@ abstract class AuthTokenViewBase extends ControllerBase
|
||||
* @throws SessionTimeout
|
||||
*/
|
||||
public function __construct(
|
||||
Application $application,
|
||||
WebControllerHelper $webControllerHelper,
|
||||
private readonly CustomFieldServiceInterface $customFieldService,
|
||||
private readonly UserServiceInterface $userService,
|
||||
private readonly AuthTokenService $authTokenService,
|
||||
private readonly AuthTokenActionInterface $authTokenAction,
|
||||
Application $application,
|
||||
WebControllerHelper $webControllerHelper,
|
||||
private readonly CustomFieldService $customFieldService,
|
||||
private readonly UserServiceInterface $userService,
|
||||
private readonly AuthTokenService $authTokenService,
|
||||
private readonly AuthTokenActionInterface $authTokenAction,
|
||||
) {
|
||||
parent::__construct($application, $webControllerHelper);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user