Removed useless dependency in UserService
This commit is contained in:
parent
99b08879bd
commit
823fa2da15
2 changed files with 0 additions and 8 deletions
|
@ -11,7 +11,6 @@ use Szurubooru\Helpers\MimeHelper;
|
||||||
use Szurubooru\SearchServices\Filters\UserFilter;
|
use Szurubooru\SearchServices\Filters\UserFilter;
|
||||||
use Szurubooru\Services\EmailService;
|
use Szurubooru\Services\EmailService;
|
||||||
use Szurubooru\Services\PasswordService;
|
use Szurubooru\Services\PasswordService;
|
||||||
use Szurubooru\Services\ThumbnailService;
|
|
||||||
use Szurubooru\Services\TimeService;
|
use Szurubooru\Services\TimeService;
|
||||||
use Szurubooru\Services\TokenService;
|
use Szurubooru\Services\TokenService;
|
||||||
use Szurubooru\Validator;
|
use Szurubooru\Validator;
|
||||||
|
@ -24,7 +23,6 @@ class UserService
|
||||||
private $userDao;
|
private $userDao;
|
||||||
private $passwordService;
|
private $passwordService;
|
||||||
private $emailService;
|
private $emailService;
|
||||||
private $thumbnailService;
|
|
||||||
private $timeService;
|
private $timeService;
|
||||||
private $tokenService;
|
private $tokenService;
|
||||||
|
|
||||||
|
@ -35,7 +33,6 @@ class UserService
|
||||||
UserDao $userDao,
|
UserDao $userDao,
|
||||||
PasswordService $passwordService,
|
PasswordService $passwordService,
|
||||||
EmailService $emailService,
|
EmailService $emailService,
|
||||||
ThumbnailService $thumbnailService,
|
|
||||||
TimeService $timeService,
|
TimeService $timeService,
|
||||||
TokenService $tokenService)
|
TokenService $tokenService)
|
||||||
{
|
{
|
||||||
|
@ -45,7 +42,6 @@ class UserService
|
||||||
$this->userDao = $userDao;
|
$this->userDao = $userDao;
|
||||||
$this->passwordService = $passwordService;
|
$this->passwordService = $passwordService;
|
||||||
$this->emailService = $emailService;
|
$this->emailService = $emailService;
|
||||||
$this->thumbnailService = $thumbnailService;
|
|
||||||
$this->timeService = $timeService;
|
$this->timeService = $timeService;
|
||||||
$this->tokenService = $tokenService;
|
$this->tokenService = $tokenService;
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,6 @@ use Szurubooru\FormData\RegistrationFormData;
|
||||||
use Szurubooru\FormData\UserEditFormData;
|
use Szurubooru\FormData\UserEditFormData;
|
||||||
use Szurubooru\Services\EmailService;
|
use Szurubooru\Services\EmailService;
|
||||||
use Szurubooru\Services\PasswordService;
|
use Szurubooru\Services\PasswordService;
|
||||||
use Szurubooru\Services\ThumbnailService;
|
|
||||||
use Szurubooru\Services\TimeService;
|
use Szurubooru\Services\TimeService;
|
||||||
use Szurubooru\Services\TokenService;
|
use Szurubooru\Services\TokenService;
|
||||||
use Szurubooru\Services\UserService;
|
use Szurubooru\Services\UserService;
|
||||||
|
@ -22,7 +21,6 @@ final class UserServiceTest extends AbstractTestCase
|
||||||
private $userDaoMock;
|
private $userDaoMock;
|
||||||
private $passwordServiceMock;
|
private $passwordServiceMock;
|
||||||
private $emailServiceMock;
|
private $emailServiceMock;
|
||||||
private $thumbnailServiceMock;
|
|
||||||
private $timeServiceMock;
|
private $timeServiceMock;
|
||||||
private $tokenServiceMock;
|
private $tokenServiceMock;
|
||||||
|
|
||||||
|
@ -35,7 +33,6 @@ final class UserServiceTest extends AbstractTestCase
|
||||||
$this->userDaoMock = $this->mock(UserDao::class);
|
$this->userDaoMock = $this->mock(UserDao::class);
|
||||||
$this->passwordServiceMock = $this->mock(PasswordService::class);
|
$this->passwordServiceMock = $this->mock(PasswordService::class);
|
||||||
$this->emailServiceMock = $this->mock(EmailService::class);
|
$this->emailServiceMock = $this->mock(EmailService::class);
|
||||||
$this->thumbnailServiceMock = $this->mock(ThumbnailService::class);
|
|
||||||
$this->timeServiceMock = $this->mock(TimeService::class);
|
$this->timeServiceMock = $this->mock(TimeService::class);
|
||||||
$this->tokenServiceMock = $this->mock(TokenService::class);
|
$this->tokenServiceMock = $this->mock(TokenService::class);
|
||||||
}
|
}
|
||||||
|
@ -287,7 +284,6 @@ final class UserServiceTest extends AbstractTestCase
|
||||||
$this->userDaoMock,
|
$this->userDaoMock,
|
||||||
$this->passwordServiceMock,
|
$this->passwordServiceMock,
|
||||||
$this->emailServiceMock,
|
$this->emailServiceMock,
|
||||||
$this->thumbnailServiceMock,
|
|
||||||
$this->timeServiceMock,
|
$this->timeServiceMock,
|
||||||
$this->tokenServiceMock);
|
$this->tokenServiceMock);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue