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

@@ -34,7 +34,7 @@ use SP\Domain\Core\Acl\AclActionsInterface;
use SP\Domain\Core\Exceptions\ConstraintException;
use SP\Domain\Core\Exceptions\QueryException;
use SP\Domain\Core\Exceptions\SPException;
use SP\Domain\CustomField\Ports\CustomFieldServiceInterface;
use SP\Domain\CustomField\Ports\CustomFieldService;
use SP\Infrastructure\Common\Repositories\NoSuchItemException;
use SP\Modules\Web\Controllers\ControllerBase;
use SP\Mvc\Controller\ItemTrait;
@@ -47,14 +47,14 @@ abstract class ClientViewBase extends ControllerBase
{
use ItemTrait;
private ClientService $clientService;
private CustomFieldServiceInterface $customFieldService;
private ClientService $clientService;
private CustomFieldService $customFieldService;
public function __construct(
Application $application,
WebControllerHelper $webControllerHelper,
ClientService $clientService,
CustomFieldServiceInterface $customFieldService
CustomFieldService $customFieldService
) {
parent::__construct($application, $webControllerHelper);