chore(tests): UT for CustomFieldCrypt service

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-01-22 08:48:36 +01:00
parent 3fd00722c3
commit bf9ba8dc2d
40 changed files with 458 additions and 249 deletions

View File

@@ -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);