summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-05-02 10:38:52 +0200
committerJoas Schilling <coding@schilljs.com>2022-05-02 10:38:52 +0200
commit98e4f9a9c5538cafff5d7a917b5dd87eccf0d1d8 (patch)
tree6493474aee7d34d7c47b4e53e1e3dadad7e95d85
parent9a671da57dfa63dc2ff89cfdcc85791c3922b41c (diff)
Fix integration tests on stable21
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--tests/integration/features/conversation/delete-user.feature8
-rw-r--r--tests/integration/features/conversation/join-listable.feature10
2 files changed, 9 insertions, 9 deletions
diff --git a/tests/integration/features/conversation/delete-user.feature b/tests/integration/features/conversation/delete-user.feature
index c211a25a5..409c2b15c 100644
--- a/tests/integration/features/conversation/delete-user.feature
+++ b/tests/integration/features/conversation/delete-user.feature
@@ -16,21 +16,21 @@ Feature: conversation/delete-user
Then user "participant1" sees the following messages in room "one-to-one room" with 200
| room | actorType | actorId | actorDisplayName | message | messageParameters |
| one-to-one room | deleted_users | deleted_users | | Message 1 | [] |
- Then user "participant1" is participant of the following rooms (v4)
+ Then user "participant1" is participant of the following rooms (v3)
| name | type |
| participant2-displayname | 2 |
Scenario: delete user who left a one-to-one room
- Given user "participant1" creates room "one-to-one room" (v4)
+ Given user "participant1" creates room "one-to-one room" (v3)
| roomType | 1 |
| invite | participant2 |
And user "participant2" sends message "Message 1" to room "one-to-one room" with 201
- When user "participant2" leaves room "one-to-one room" with 200 (v4)
+ When user "participant2" leaves room "one-to-one room" with 200 (v3)
When user "participant2" is deleted
Then user "participant1" sees the following messages in room "one-to-one room" with 200
| room | actorType | actorId | actorDisplayName | message | messageParameters |
| one-to-one room | deleted_users | deleted_users | | Message 1 | [] |
- Then user "participant1" is participant of the following rooms (v4)
+ Then user "participant1" is participant of the following rooms (v3)
| name | type |
| participant2-displayname | 2 |
diff --git a/tests/integration/features/conversation/join-listable.feature b/tests/integration/features/conversation/join-listable.feature
index a50c56053..dc5741f3c 100644
--- a/tests/integration/features/conversation/join-listable.feature
+++ b/tests/integration/features/conversation/join-listable.feature
@@ -100,13 +100,13 @@ Feature: conversation/join-listable
# Join listed conversation which has a password
# -----------------------------------------------------------------------------
Scenario: Only users with accounts can join an all-listed group room
- Given user "creator" creates room "room" (v4)
+ Given user "creator" creates room "room" (v3)
| roomType | 3 |
| roomName | room |
- When user "creator" sets password "foobar" for room "room" with 200 (v4)
- And user "creator" allows listing room "room" for "all" with 200 (v4)
- When user "regular-user" joins room "room" with 200 (v4)
- Then user "creator" sees the following attendees in room "room" with 200 (v4)
+ When user "creator" sets password "foobar" for room "room" with 200 (v3)
+ And user "creator" allows listing room "room" for "all" with 200 (v3)
+ When user "regular-user" joins room "room" with 200 (v3)
+ Then user "creator" sees the following attendees in room "room" with 200 (v3)
| actorId | participantType | actorType |
| creator | OWNER | users |
| regular-user | USER | users |