summaryrefslogtreecommitdiffstats
path: root/tests/php
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2020-12-02 13:55:24 +0100
committerVincent Petry <vincent@nextcloud.com>2020-12-11 18:15:48 +0100
commit65238d1b8f487596dc79b19fe6a6be3a4fb417be (patch)
treedf44da5a069d248766065a21f66e76725c98b1eb /tests/php
parent353206e1e695d531f2a51003ac93cfc3cd669bce (diff)
Adjustments for listable rooms after review
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'tests/php')
-rw-r--r--tests/php/RoomTest.php2
-rw-r--r--tests/php/Signaling/BackendNotifierTest.php16
2 files changed, 9 insertions, 9 deletions
diff --git a/tests/php/RoomTest.php b/tests/php/RoomTest.php
index 1b26775c2..5c710c4f4 100644
--- a/tests/php/RoomTest.php
+++ b/tests/php/RoomTest.php
@@ -63,7 +63,7 @@ class RoomTest extends TestCase {
1,
Room::PUBLIC_CALL,
Room::READ_WRITE,
- Room::LISTABLE_PARTICIPANTS,
+ Room::LISTABLE_NONE,
Webinary::LOBBY_NONE,
0,
null,
diff --git a/tests/php/Signaling/BackendNotifierTest.php b/tests/php/Signaling/BackendNotifierTest.php
index 0468352b6..bfc6e3d6e 100644
--- a/tests/php/Signaling/BackendNotifierTest.php
+++ b/tests/php/Signaling/BackendNotifierTest.php
@@ -253,7 +253,7 @@ class BackendNotifierTest extends \Test\TestCase {
'lobby-state' => Webinary::LOBBY_NONE,
'lobby-timer' => null,
'read-only' => Room::READ_WRITE,
- 'listable' => Room::LISTABLE_PARTICIPANTS,
+ 'listable' => Room::LISTABLE_NONE,
'active-since' => null,
'sip-enabled' => 0,
],
@@ -289,7 +289,7 @@ class BackendNotifierTest extends \Test\TestCase {
'lobby-state' => Webinary::LOBBY_NONE,
'lobby-timer' => null,
'read-only' => Room::READ_WRITE,
- 'listable' => Room::LISTABLE_PARTICIPANTS,
+ 'listable' => Room::LISTABLE_NONE,
'active-since' => null,
'sip-enabled' => 0,
],
@@ -336,7 +336,7 @@ class BackendNotifierTest extends \Test\TestCase {
'lobby-state' => Webinary::LOBBY_NONE,
'lobby-timer' => null,
'read-only' => Room::READ_WRITE,
- 'listable' => Room::LISTABLE_PARTICIPANTS,
+ 'listable' => Room::LISTABLE_NONE,
'active-since' => null,
'sip-enabled' => 0,
],
@@ -360,7 +360,7 @@ class BackendNotifierTest extends \Test\TestCase {
'lobby-state' => Webinary::LOBBY_NONE,
'lobby-timer' => null,
'read-only' => Room::READ_WRITE,
- 'listable' => Room::LISTABLE_PARTICIPANTS,
+ 'listable' => Room::LISTABLE_NONE,
'active-since' => null,
'sip-enabled' => 0,
],
@@ -384,7 +384,7 @@ class BackendNotifierTest extends \Test\TestCase {
'lobby-state' => Webinary::LOBBY_NONE,
'lobby-timer' => null,
'read-only' => Room::READ_WRITE,
- 'listable' => Room::LISTABLE_PARTICIPANTS,
+ 'listable' => Room::LISTABLE_NONE,
'active-since' => null,
'sip-enabled' => 0,
],
@@ -408,7 +408,7 @@ class BackendNotifierTest extends \Test\TestCase {
'lobby-state' => Webinary::LOBBY_NONE,
'lobby-timer' => null,
'read-only' => Room::READ_ONLY,
- 'listable' => Room::LISTABLE_PARTICIPANTS,
+ 'listable' => Room::LISTABLE_NONE,
'active-since' => null,
'sip-enabled' => 0,
],
@@ -455,7 +455,7 @@ class BackendNotifierTest extends \Test\TestCase {
'lobby-state' => Webinary::LOBBY_NON_MODERATORS,
'lobby-timer' => null,
'read-only' => Room::READ_WRITE,
- 'listable' => Room::LISTABLE_PARTICIPANTS,
+ 'listable' => Room::LISTABLE_NONE,
'active-since' => null,
'sip-enabled' => 0,
],
@@ -615,7 +615,7 @@ class BackendNotifierTest extends \Test\TestCase {
'lobby-state' => Webinary::LOBBY_NONE,
'lobby-timer' => null,
'read-only' => Room::READ_WRITE,
- 'listable' => Room::LISTABLE_PARTICIPANTS,
+ 'listable' => Room::LISTABLE_NONE,
'active-since' => null,
'sip-enabled' => 0,
'foo' => 'bar',