mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-06 00:24:08 +01:00
chore(tests): UT for User repository
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -28,12 +28,12 @@ namespace SP\Modules\Web\Controllers\User;
|
||||
use Defuse\Crypto\Exception\EnvironmentIsBrokenException;
|
||||
use PHPMailer\PHPMailer\Exception;
|
||||
use SP\Core\Application;
|
||||
use SP\DataModel\User;
|
||||
use SP\Domain\Common\Services\ServiceException;
|
||||
use SP\Domain\Core\Exceptions\ConstraintException;
|
||||
use SP\Domain\Core\Exceptions\QueryException;
|
||||
use SP\Domain\CustomField\Ports\CustomFieldDataService;
|
||||
use SP\Domain\Notification\Ports\MailService;
|
||||
use SP\Domain\User\Models\User;
|
||||
use SP\Domain\User\Ports\UserPassRecoverServiceInterface;
|
||||
use SP\Domain\User\Ports\UserServiceInterface;
|
||||
use SP\Domain\User\Services\UserPassRecoverService;
|
||||
@@ -73,7 +73,7 @@ abstract class UserSaveBase extends ControllerBase
|
||||
|
||||
/**
|
||||
* @param int $userId
|
||||
* @param User $userData
|
||||
* @param \SP\Domain\User\Models\User $userData
|
||||
*
|
||||
* @throws EnvironmentIsBrokenException
|
||||
* @throws Exception
|
||||
|
||||
Reference in New Issue
Block a user