Skip to content

Commit

Permalink
We have the full room data already
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Mar 4, 2021
1 parent 597ee80 commit a23166e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/integration/features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit a23166e

Please sign in to comment.