chore(tests): UT for User service

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-04-09 06:42:26 +02:00
parent 1fd39467fd
commit 465fec9935
33 changed files with 954 additions and 385 deletions

View File

@@ -36,7 +36,7 @@ use SP\Domain\CustomField\Ports\CustomFieldDataService;
use SP\Domain\User\Models\User;
use SP\Domain\User\Ports\UserGroupService;
use SP\Domain\User\Ports\UserProfileService;
use SP\Domain\User\Ports\UserServiceInterface;
use SP\Domain\User\Ports\UserService;
use SP\Modules\Web\Controllers\ControllerBase;
use SP\Mvc\Controller\ItemTrait;
use SP\Mvc\Controller\WebControllerHelper;
@@ -49,15 +49,15 @@ abstract class UserViewBase extends ControllerBase
{
use ItemTrait;
protected UserServiceInterface $userService;
private UserGroupService $userGroupService;
protected UserService $userService;
private UserGroupService $userGroupService;
private UserProfileService $userProfileService;
private CustomFieldDataService $customFieldService;
public function __construct(
Application $application,
WebControllerHelper $webControllerHelper,
UserServiceInterface $userService,
UserService $userService,
UserGroupService $userGroupService,
UserProfileService $userProfileService,
CustomFieldDataService $customFieldService