diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2023-01-05 06:58:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-05 06:58:23 +0100 |
commit | c11d5ae46495f9ca9680cc12e35d7b012e0d019e (patch) | |
tree | 799af6ec960d24baca6da1528419d018fb2f0144 /tests | |
parent | 9219d6f7a066ad5b4a93c37a905b4501b47fcbd5 (diff) | |
parent | c08f92ead569d8dc380fb5bf560ef08b04722953 (diff) |
Merge pull request #8525 from nextcloud/feature/move-recording-methods
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 ); } |