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

@@ -26,7 +26,7 @@ namespace SP\Modules\Web\Controllers\UserProfile;
use SP\Core\Application;
use SP\Domain\CustomField\Ports\CustomFieldService;
use SP\Domain\CustomField\Ports\CustomFieldDataService;
use SP\Domain\User\Ports\UserProfileServiceInterface;
use SP\Modules\Web\Controllers\ControllerBase;
use SP\Modules\Web\Forms\UserProfileForm;
@@ -38,14 +38,14 @@ use SP\Mvc\Controller\WebControllerHelper;
abstract class UserProfileSaveBase extends ControllerBase
{
protected UserProfileServiceInterface $userProfileService;
protected CustomFieldService $customFieldService;
protected CustomFieldDataService $customFieldService;
protected UserProfileForm $form;
public function __construct(
Application $application,
WebControllerHelper $webControllerHelper,
UserProfileServiceInterface $userProfileService,
CustomFieldService $customFieldService
CustomFieldDataService $customFieldService
) {
parent::__construct($application, $webControllerHelper);