summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-05-10 16:45:00 +0200
committerJoas Schilling <coding@schilljs.com>2022-05-10 16:46:18 +0200
commit90a61467bea4f790ed5697d5f3dde8a3dd6e74d8 (patch)
tree72a760873e1e2fb9cf06891855b0ffb817c83035 /tests
parent034f0a303d63a4d3743a05643aba8b2364f22e4e (diff)
Move setReadOnly to room service
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/php/Signaling/BackendNotifierTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/php/Signaling/BackendNotifierTest.php b/tests/php/Signaling/BackendNotifierTest.php
index ac200a5bc..b933811cf 100644
--- a/tests/php/Signaling/BackendNotifierTest.php
+++ b/tests/php/Signaling/BackendNotifierTest.php
@@ -510,7 +510,7 @@ class BackendNotifierTest extends TestCase {
public function testRoomReadOnlyChanged() {
$room = $this->manager->createRoom(Room::TYPE_PUBLIC);
- $room->setReadOnly(Room::READ_ONLY);
+ $this->roomService->setReadOnly($room, Room::READ_ONLY);
$this->assertMessageWasSent($room, [
'type' => 'update',