chore(tests): UT for CustomFieldData service

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-01-27 10:39:53 +01:00
parent bf9ba8dc2d
commit 38e84ca1e1
54 changed files with 2140 additions and 1389 deletions

View File

@@ -33,7 +33,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\CustomFieldService;
use SP\Domain\CustomField\Ports\CustomFieldDataService;
use SP\Domain\User\Ports\UserGroupServiceInterface;
use SP\Domain\User\Ports\UserProfileServiceInterface;
use SP\Domain\User\Ports\UserServiceInterface;
@@ -52,7 +52,7 @@ abstract class UserViewBase extends ControllerBase
protected UserServiceInterface $userService;
private UserGroupServiceInterface $userGroupService;
private UserProfileServiceInterface $userProfileService;
private CustomFieldService $customFieldService;
private CustomFieldDataService $customFieldService;
public function __construct(
Application $application,
@@ -60,7 +60,7 @@ abstract class UserViewBase extends ControllerBase
UserServiceInterface $userService,
UserGroupServiceInterface $userGroupService,
UserProfileServiceInterface $userProfileService,
CustomFieldService $customFieldService
CustomFieldDataService $customFieldService
) {
parent::__construct($application, $webControllerHelper);