diff options
author | Joas Schilling <coding@schilljs.com> | 2021-12-02 19:00:44 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-12-02 19:01:47 +0300 |
commit | d239c35bd541ebca7da4861ad645a84962ad5485 (patch) | |
tree | 3a2defafcc58d02c593aa7154b37a260e0a7568f /tests | |
parent | c9cf44e9309f6797e0b18bed48061f74328d01ab (diff) |
Test with one-to-one and public conversation
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/features/command/user-remove.feature | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/tests/integration/features/command/user-remove.feature b/tests/integration/features/command/user-remove.feature index 6288262cf..b6e656355 100644 --- a/tests/integration/features/command/user-remove.feature +++ b/tests/integration/features/command/user-remove.feature @@ -5,11 +5,24 @@ Feature: User remove Given user "participant2" exists Scenario: Remove a user from all their rooms - Given user "participant1" creates room "room" (v4) + Given user "participant1" creates room "room1" (v4) | roomType | 1 | | invite | participant2 | + Given user "participant1" creates room "room2" (v4) + | roomType | 3 | + | roomName | room | + And user "participant1" adds user "participant2" to room "room2" with 200 (v4) And invoking occ with "talk:user:remove --user participant2" And the command output contains the text "Users successfully removed from all rooms" Then the command was successful And user "participant2" is participant of the following rooms (v4) - And user "participant1" is participant of room "room" (v4) + And user "participant1" is participant of the following rooms (v4) + | id | name | type | participantType | + | room1 | participant2-displayname | 2 | 1 | + | room2 | room | 3 | 1 | + And user "participant1" sees the following attendees in room "room1" with 200 (v4) + | actorType | actorId | participantType | + | users | participant1 | 1 | + And user "participant1" sees the following attendees in room "room2" with 200 (v4) + | actorType | actorId | participantType | + | users | participant1 | 1 | |