From a23166e37d5ae044c5688449f6e944c607e75346 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 4 Mar 2021 14:35:04 +0100 Subject: [PATCH] We have the full room data already Signed-off-by: Joas Schilling --- tests/integration/features/bootstrap/FeatureContext.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php index ed045b27de6..f9dea21f4a0 100644 --- a/tests/integration/features/bootstrap/FeatureContext.php +++ b/tests/integration/features/bootstrap/FeatureContext.php @@ -332,13 +332,8 @@ public function userIsParticipantOfRoom(string $user, string $isOrNotParticipant Assert::assertEquals($isParticipant, true, 'Room ' . $identifier . ' found in userĀ“s room list'); if ($formData) { - $this->sendRequest('GET', '/apps/spreed/api/' . $apiVersion . '/room/' . self::$identifierToToken[$identifier]); - - $rooms = [$this->getDataFromResponse($this->response)]; - - $this->assertRooms($rooms, $formData); + $this->assertRooms([$room], $formData); } - return; } }