diff options
author | Vitor Mattos <vitor@php.rio> | 2023-01-04 16:02:27 -0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2023-01-04 16:02:27 -0300 |
commit | d96fb4431b1d556f8027788ce3c0ad4cf8125cc0 (patch) | |
tree | 56d873749d040e31ee0c179caaebf593f16c4b78 /tests | |
parent | ff782dbfde14a263d73de87641989ccb15c396cf (diff) |
Move methods of Recording from RoomService to RecordingService
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/php/Service/RecordingServiceTest.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/php/Service/RecordingServiceTest.php b/tests/php/Service/RecordingServiceTest.php index 5ddc1c2bf..e49147526 100644 --- a/tests/php/Service/RecordingServiceTest.php +++ b/tests/php/Service/RecordingServiceTest.php @@ -38,6 +38,7 @@ namespace OCA\Talk\Tests\php\Service; use OCA\Talk\Config; use OCA\Talk\Service\ParticipantService; use OCA\Talk\Service\RecordingService; +use OCA\Talk\Service\RoomService; use OCP\Files\IMimeTypeDetector; use OCP\Files\IRootFolder; use PHPUnit\Framework\MockObject\MockObject; @@ -52,6 +53,8 @@ class RecordingServiceTest extends TestCase { private $rootFolder; /** @var Config|MockObject */ private $config; + /** @var RoomService|MockObject */ + private $roomService; /** @var RecordingService */ protected $recordingService; @@ -62,12 +65,14 @@ class RecordingServiceTest extends TestCase { $this->participantService = $this->createMock(ParticipantService::class); $this->rootFolder = $this->createMock(IRootFolder::class); $this->config = $this->createMock(Config::class); + $this->roomService = $this->createMock(RoomService::class); $this->recordingService = new RecordingService( $this->mimeTypeDetector, $this->participantService, $this->rootFolder, - $this->config + $this->config, + $this->roomService ); } |