diff options
author | Joas Schilling <coding@schilljs.com> | 2022-05-05 10:38:19 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-05-05 11:43:50 +0200 |
commit | 84377efff7b67125ed8cf41030f0b74559c9131c (patch) | |
tree | c13a39e077ba3c72f5dc3892771edfdb1f2d724c /tests | |
parent | a70f3e131ef83aa79c08d193d13a51a8788a32b9 (diff) |
Move permissions logic to room service
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/php/Service/RoomServiceTest.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/php/Service/RoomServiceTest.php b/tests/php/Service/RoomServiceTest.php index 342997543..5d4b2897f 100644 --- a/tests/php/Service/RoomServiceTest.php +++ b/tests/php/Service/RoomServiceTest.php @@ -44,6 +44,9 @@ use PHPUnit\Framework\MockObject\MockObject; use Psr\Log\LoggerInterface; use Test\TestCase; +/** + * @group DB + */ class RoomServiceTest extends TestCase { /** @var Manager|MockObject */ @@ -70,6 +73,7 @@ class RoomServiceTest extends TestCase { $this->service = new RoomService( $this->manager, $this->participantService, + \OC::$server->get(IDBConnection::class), $this->shareManager, $this->hasher, $this->dispatcher @@ -329,6 +333,7 @@ class RoomServiceTest extends TestCase { $service = new RoomService( $this->manager, $this->participantService, + \OC::$server->get(IDBConnection::class), $this->shareManager, $this->hasher, $dispatcher |