diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-03-31 22:52:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-31 22:52:49 +0300 |
commit | f4c8cb5d4a4b742a35b2fd8f432629872a932aa1 (patch) | |
tree | 0cb13eac17f2b22e96712b6dff1f117e5ec9e232 /tests/php/Controller/ChatControllerTest.php | |
parent | d7ac2a1f64fc934e53c930cd8051be2fdfa64a2b (diff) | |
parent | 3099ca9fa23b971ebe51f069f20aa4b5e22e6f80 (diff) |
Merge pull request #7077 from nextcloud/feature/noid/talk-attachments-table
Improve API for media tab to be able to filter results
Diffstat (limited to 'tests/php/Controller/ChatControllerTest.php')
-rw-r--r-- | tests/php/Controller/ChatControllerTest.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/php/Controller/ChatControllerTest.php b/tests/php/Controller/ChatControllerTest.php index 92473c7fd..ba24bf7f2 100644 --- a/tests/php/Controller/ChatControllerTest.php +++ b/tests/php/Controller/ChatControllerTest.php @@ -33,6 +33,7 @@ use OCA\Talk\Model\Attendee; use OCA\Talk\Model\Message; use OCA\Talk\Participant; use OCA\Talk\Room; +use OCA\Talk\Service\AttachmentService; use OCA\Talk\Service\ParticipantService; use OCA\Talk\Service\SessionService; use OCP\App\IAppManager; @@ -68,6 +69,8 @@ class ChatControllerTest extends TestCase { protected $participantService; /** @var SessionService|MockObject */ protected $sessionService; + /** @var AttachmentService|MockObject */ + protected $attachmentService; /** @var GuestManager|MockObject */ protected $guestManager; /** @var MessageParser|MockObject */ @@ -111,6 +114,7 @@ class ChatControllerTest extends TestCase { $this->chatManager = $this->createMock(ChatManager::class); $this->participantService = $this->createMock(ParticipantService::class); $this->sessionService = $this->createMock(SessionService::class); + $this->attachmentService = $this->createMock(AttachmentService::class); $this->guestManager = $this->createMock(GuestManager::class); $this->messageParser = $this->createMock(MessageParser::class); $this->autoCompleteManager = $this->createMock(IManager::class); @@ -146,6 +150,7 @@ class ChatControllerTest extends TestCase { $this->chatManager, $this->participantService, $this->sessionService, + $this->attachmentService, $this->guestManager, $this->messageParser, $this->autoCompleteManager, |