diff options
author | Vitor Mattos <vitor@php.rio> | 2023-03-20 15:58:04 -0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2023-03-20 15:58:04 -0300 |
commit | f798b20c30621d301343f16fc273d2e87776cccc (patch) | |
tree | 04f62ed4e1f6f0295d1e35f65422fac5ebb3132c /tests | |
parent | d8a3d221bc56f484ee44f4c374fb0a8a886c88f4 (diff) |
Remove unused property
The property config isn't used at this class
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/php/Service/AvatarServiceTest.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/php/Service/AvatarServiceTest.php b/tests/php/Service/AvatarServiceTest.php index 35287d711..4219c6c87 100644 --- a/tests/php/Service/AvatarServiceTest.php +++ b/tests/php/Service/AvatarServiceTest.php @@ -31,7 +31,6 @@ use OCA\Talk\Service\AvatarService; use OCA\Talk\Service\RoomService; use OCP\Files\IAppData; use OCP\IAvatarManager; -use OCP\IConfig; use OCP\IL10N; use OCP\IURLGenerator; use OCP\Security\ISecureRandom; @@ -44,8 +43,6 @@ class AvatarServiceTest extends TestCase { private $appData; /** @var IL10N|MockObject */ private $l; - /** @var IConfig|MockObject */ - private $config; /** @var IURLGenerator|MockObject */ private $url; /** @var ISecureRandom|MockObject */ @@ -60,7 +57,6 @@ class AvatarServiceTest extends TestCase { $this->appData = $this->createMock(IAppData::class); $this->l = $this->createMock(IL10N::class); - $this->config = $this->createMock(IConfig::class); $this->url = $this->createMock(IURLGenerator::class); $this->random = $this->createMock(ISecureRandom::class); $this->roomService = $this->createMock(RoomService::class); @@ -68,7 +64,6 @@ class AvatarServiceTest extends TestCase { $this->service = new AvatarService( $this->appData, $this->l, - $this->config, $this->url, $this->random, $this->roomService, |