summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-01-02 16:02:25 +0100
committerJoas Schilling <coding@schilljs.com>2023-01-04 17:35:22 +0100
commit249a34da965a6169b373f4cc4e212711684065e4 (patch)
tree40758f1ad9d4132e7d5eb79d72e431fac6afc8ea /tests
parentffd0f2525eca3f5fc0c7a9efaed3a5cad20d73b5 (diff)
Restrict the object rooms that can be created
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/features/conversation/breakout-rooms.feature8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/integration/features/conversation/breakout-rooms.feature b/tests/integration/features/conversation/breakout-rooms.feature
index b9130fbbe..bf779ee2d 100644
--- a/tests/integration/features/conversation/breakout-rooms.feature
+++ b/tests/integration/features/conversation/breakout-rooms.feature
@@ -584,12 +584,18 @@ Feature: conversation/breakout-rooms
| 2 | class room | 0 | 1 | 0 |
| 2 | Room 1 | 1 | 0 | 0 |
| 2 | Room 2 | 1 | 0 | 0 |
- # Can not nest
+ # Can not nest breakout rooms
Given user "participant1" creates room "Room 3" with 400 (v4)
| roomType | 2 |
| roomName | Room 3 |
| objectType | room |
| objectId | ROOM(Room 2) |
+ # Can not create room for other object types
+ Given user "participant1" creates room "Room 3" with 400 (v4)
+ | roomType | 2 |
+ | roomName | Room 3 |
+ | objectType | files |
+ | objectId | ROOM(class room) |
Given user "participant1" creates room "Room 3" with 201 (v4)
| roomType | 2 |
| roomName | Room 3 |