diff options
author | Vitor Mattos <vitor@php.rio> | 2023-01-05 14:13:28 -0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2023-01-14 10:02:16 -0300 |
commit | 2382c9a33e7b096af633e055b7823915ab58dada (patch) | |
tree | b1a0657e8702062b8081257b2f79a77d570502fe /tests | |
parent | a116ab9e297a28879c9b627c1b49f76607d9899e (diff) |
Notify recording stored
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/php/Service/RecordingServiceTest.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/php/Service/RecordingServiceTest.php b/tests/php/Service/RecordingServiceTest.php index e49147526..6dbf56867 100644 --- a/tests/php/Service/RecordingServiceTest.php +++ b/tests/php/Service/RecordingServiceTest.php @@ -41,6 +41,9 @@ use OCA\Talk\Service\RecordingService; use OCA\Talk\Service\RoomService; use OCP\Files\IMimeTypeDetector; use OCP\Files\IRootFolder; +use OCP\IL10N; +use OCP\IURLGenerator; +use OCP\Notification\IManager; use PHPUnit\Framework\MockObject\MockObject; use Test\TestCase; @@ -64,6 +67,9 @@ class RecordingServiceTest extends TestCase { $this->mimeTypeDetector = \OC::$server->get(IMimeTypeDetector::class); $this->participantService = $this->createMock(ParticipantService::class); $this->rootFolder = $this->createMock(IRootFolder::class); + $this->notificationManager = $this->createMock(IManager::class); + $this->l = $this->createMock(IL10N::class); + $this->urlGenerator = $this->createMock(IURLGenerator::class); $this->config = $this->createMock(Config::class); $this->roomService = $this->createMock(RoomService::class); @@ -71,8 +77,10 @@ class RecordingServiceTest extends TestCase { $this->mimeTypeDetector, $this->participantService, $this->rootFolder, - $this->config, - $this->roomService + $this->notificationManager, + $this->l, + $this->urlGenerator, + $this->config ); } |