diff --git a/src/Services/UserService.php b/src/Services/UserService.php index ceb87ced..0fb9b052 100644 --- a/src/Services/UserService.php +++ b/src/Services/UserService.php @@ -11,7 +11,6 @@ use Szurubooru\Helpers\MimeHelper; use Szurubooru\SearchServices\Filters\UserFilter; use Szurubooru\Services\EmailService; use Szurubooru\Services\PasswordService; -use Szurubooru\Services\ThumbnailService; use Szurubooru\Services\TimeService; use Szurubooru\Services\TokenService; use Szurubooru\Validator; @@ -24,7 +23,6 @@ class UserService private $userDao; private $passwordService; private $emailService; - private $thumbnailService; private $timeService; private $tokenService; @@ -35,7 +33,6 @@ class UserService UserDao $userDao, PasswordService $passwordService, EmailService $emailService, - ThumbnailService $thumbnailService, TimeService $timeService, TokenService $tokenService) { @@ -45,7 +42,6 @@ class UserService $this->userDao = $userDao; $this->passwordService = $passwordService; $this->emailService = $emailService; - $this->thumbnailService = $thumbnailService; $this->timeService = $timeService; $this->tokenService = $tokenService; } diff --git a/tests/Services/UserServiceTest.php b/tests/Services/UserServiceTest.php index caf11a5a..d2cc112d 100644 --- a/tests/Services/UserServiceTest.php +++ b/tests/Services/UserServiceTest.php @@ -7,7 +7,6 @@ use Szurubooru\FormData\RegistrationFormData; use Szurubooru\FormData\UserEditFormData; use Szurubooru\Services\EmailService; use Szurubooru\Services\PasswordService; -use Szurubooru\Services\ThumbnailService; use Szurubooru\Services\TimeService; use Szurubooru\Services\TokenService; use Szurubooru\Services\UserService; @@ -22,7 +21,6 @@ final class UserServiceTest extends AbstractTestCase private $userDaoMock; private $passwordServiceMock; private $emailServiceMock; - private $thumbnailServiceMock; private $timeServiceMock; private $tokenServiceMock; @@ -35,7 +33,6 @@ final class UserServiceTest extends AbstractTestCase $this->userDaoMock = $this->mock(UserDao::class); $this->passwordServiceMock = $this->mock(PasswordService::class); $this->emailServiceMock = $this->mock(EmailService::class); - $this->thumbnailServiceMock = $this->mock(ThumbnailService::class); $this->timeServiceMock = $this->mock(TimeService::class); $this->tokenServiceMock = $this->mock(TokenService::class); } @@ -287,7 +284,6 @@ final class UserServiceTest extends AbstractTestCase $this->userDaoMock, $this->passwordServiceMock, $this->emailServiceMock, - $this->thumbnailServiceMock, $this->timeServiceMock, $this->tokenServiceMock); }