Removed useless dependency in UserService

This commit is contained in:
Marcin Kurczewski 2014-10-10 20:53:47 +02:00
parent 99b08879bd
commit 823fa2da15
2 changed files with 0 additions and 8 deletions

View file

@ -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;
}

View file

@ -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);
}