summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-01-09 09:15:48 +0100
committerJoas Schilling <coding@schilljs.com>2023-01-19 08:26:26 +0100
commit001b908c4d7c0e8a1cc3b32fa6dcc3b36bf2d59b (patch)
treef62e3f0b5f1d3a622d081246cffb3ba53b71313b /tests
parentd081664117fe43b9c4b2a55122f74d2e3a9778cc (diff)
fix(test): Sort order after transfer ownership can not be garanteed
… as the last activity might be the same timestamp for multiple rooms Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/features/command/user-transfer-ownership.feature14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/integration/features/command/user-transfer-ownership.feature b/tests/integration/features/command/user-transfer-ownership.feature
index 0572f2c20..ddf14c19b 100644
--- a/tests/integration/features/command/user-transfer-ownership.feature
+++ b/tests/integration/features/command/user-transfer-ownership.feature
@@ -28,14 +28,14 @@ Feature: command/user-remove
And invoking occ with "talk:user:transfer-ownership participant2 participant3"
And the command output contains the text "Added or promoted user participant3 in 2 rooms."
Then the command was successful
- And user "participant2" is participant of the following rooms (v4)
+ And user "participant2" is participant of the following unordered rooms (v4)
| id | name | type | participantType |
| one-to-one | participant1 | 1 | 1 |
| user | user | 3 | 3 |
| moderator | moderator | 2 | 2 |
| owner | owner | 2 | 1 |
| self-joined | self-joined | 3 | 5 |
- And user "participant3" is participant of the following rooms (v4)
+ And user "participant3" is participant of the following unordered rooms (v4)
| id | name | type | participantType |
| moderator | moderator | 2 | 2 |
| owner | owner | 2 | 1 |
@@ -63,14 +63,14 @@ Feature: command/user-remove
And invoking occ with "talk:user:transfer-ownership --include-non-moderator participant2 participant3"
And the command output contains the text "Added or promoted user participant3 in 3 rooms."
Then the command was successful
- And user "participant2" is participant of the following rooms (v4)
+ And user "participant2" is participant of the following unordered rooms (v4)
| id | name | type | participantType |
| one-to-one | participant1 | 1 | 1 |
| user | user | 3 | 3 |
| moderator | moderator | 2 | 2 |
| owner | owner | 2 | 1 |
| self-joined | self-joined | 3 | 5 |
- And user "participant3" is participant of the following rooms (v4)
+ And user "participant3" is participant of the following unordered rooms (v4)
| id | name | type | participantType |
| user | user | 3 | 3 |
| moderator | moderator | 2 | 2 |
@@ -99,12 +99,12 @@ Feature: command/user-remove
And invoking occ with "talk:user:transfer-ownership --remove-source-user participant2 participant3"
And the command output contains the text "Added or promoted user participant3 in 2 rooms."
Then the command was successful
- And user "participant2" is participant of the following rooms (v4)
+ And user "participant2" is participant of the following unordered rooms (v4)
| id | name | type | participantType |
| one-to-one | participant1 | 1 | 1 |
| user | user | 3 | 3 |
| self-joined | self-joined | 3 | 5 |
- And user "participant3" is participant of the following rooms (v4)
+ And user "participant3" is participant of the following unordered rooms (v4)
| id | name | type | participantType |
| moderator | moderator | 2 | 2 |
| owner | owner | 2 | 1 |
@@ -149,7 +149,7 @@ Feature: command/user-remove
And invoking occ with "talk:user:transfer-ownership --include-non-moderator participant2 participant3"
And the command output contains the text "Added or promoted user participant3 in 5 rooms."
Then the command was successful
- And user "participant2" is participant of the following rooms (v4)
+ And user "participant2" is participant of the following unordered rooms (v4)
| id | name | type | participantType |
| moderator | moderator | 2 | 2 |
| owner | owner | 2 | 1 |