From 22ca3857b390b7838fceedd132c9582f39dc465a Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 6 Feb 2025 12:30:45 +0100 Subject: [PATCH] fix: Unsorted room list Signed-off-by: Joas Schilling --- .../features/conversation-1/archive.feature | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/integration/features/conversation-1/archive.feature b/tests/integration/features/conversation-1/archive.feature index c689a370e12..adc8fd5ca17 100644 --- a/tests/integration/features/conversation-1/archive.feature +++ b/tests/integration/features/conversation-1/archive.feature @@ -10,19 +10,19 @@ Feature: conversation-1/archive When user "participant1" creates room "one-to-one room" (v4) | roomType | 1 | | invite | participant2 | - And user "participant1" is participant of the following rooms (v4) - | id | type | participantType | isArchived | - | group room | 3 | 1 | 0 | - | one-to-one room | 1 | 1 | 0 | + And user "participant1" is participant of the following unordered rooms (v4) + | id | name | isArchived | + | group room | room | 0 | + | one-to-one room | participant2 | 0 | And user "participant1" archives room "one-to-one room" with 200 (v4) And user "participant1" archives room "group room" with 200 (v4) - And user "participant1" is participant of the following rooms (v4) - | id | type | participantType | isArchived | - | group room | 3 | 1 | 1 | - | one-to-one room | 1 | 1 | 1 | + And user "participant1" is participant of the following unordered rooms (v4) + | id | name | isArchived | + | group room | room | 1 | + | one-to-one room | participant2 | 1 | And user "participant1" unarchives room "one-to-one room" with 200 (v4) And user "participant1" unarchives room "group room" with 200 (v4) - And user "participant1" is participant of the following rooms (v4) - | id | type | participantType | isArchived | - | group room | 3 | 1 | 0 | - | one-to-one room | 1 | 1 | 0 | + And user "participant1" is participant of the following unordered rooms (v4) + | id | name | isArchived | + | group room | room | 0 | + | one-to-one room | participant2 | 0 |