diff options
author | Joas Schilling <coding@schilljs.com> | 2023-12-11 12:57:51 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-12-11 14:38:20 +0100 |
commit | 7a98a21d21d6f0a5c9869558e8bbeb0bb2d58cb7 (patch) | |
tree | 2cf34a6ea74d2a95da5533242bcfeea66d79ea87 /tests | |
parent | 31473011a4aae71d1626a29209d9eadafab9ad3f (diff) |
fix(API): Remove unused member variables
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/php/Chat/NotifierTest.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/php/Chat/NotifierTest.php b/tests/php/Chat/NotifierTest.php index c2743b74e..c9554e11a 100644 --- a/tests/php/Chat/NotifierTest.php +++ b/tests/php/Chat/NotifierTest.php @@ -27,7 +27,6 @@ use OC\Comments\Comment; use OCA\Talk\Chat\Notifier; use OCA\Talk\Exceptions\ParticipantNotFoundException; use OCA\Talk\Files\Util; -use OCA\Talk\Manager; use OCA\Talk\Model\Attendee; use OCA\Talk\Model\Session; use OCA\Talk\Participant; @@ -52,8 +51,6 @@ class NotifierTest extends TestCase { protected $groupManager; /** @var ParticipantService|MockObject */ protected $participantService; - /** @var Manager|MockObject */ - protected $manager; /** @var IConfig|MockObject */ protected $config; /** @var ITimeFactory|MockObject */ @@ -75,7 +72,6 @@ class NotifierTest extends TestCase { $this->groupManager = $this->createMock(IGroupManager::class); $this->participantService = $this->createMock(ParticipantService::class); - $this->manager = $this->createMock(Manager::class); $this->config = $this->createMock(IConfig::class); $this->timeFactory = $this->createMock(ITimeFactory::class); $this->util = $this->createMock(Util::class); @@ -93,7 +89,6 @@ class NotifierTest extends TestCase { $this->userManager, $this->groupManager, $this->participantService, - $this->manager, $this->config, $this->timeFactory, $this->util, @@ -106,7 +101,6 @@ class NotifierTest extends TestCase { $this->userManager, $this->groupManager, $this->participantService, - $this->manager, $this->config, $this->timeFactory, $this->util @@ -152,9 +146,6 @@ class NotifierTest extends TestCase { return new Participant($room, $attendee, null); }); - $this->manager->expects($this->any()) - ->method('getRoomById') - ->willReturn($room); return $room; } |