From 249a34da965a6169b373f4cc4e212711684065e4 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 2 Jan 2023 16:02:25 +0100 Subject: Restrict the object rooms that can be created Signed-off-by: Joas Schilling --- tests/integration/features/conversation/breakout-rooms.feature | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests') 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 | -- cgit v1.2.3