Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-03-04 16:35:04 +0300
committerJoas Schilling <coding@schilljs.com>2021-03-08 13:56:21 +0300
commit8136513923120125cf3a1730333c499384a014e4 (patch)
tree19b96492ebb9f5289a2b0ae4a52cf5d6a3bba65e /tests
parentba5282518d58a89fd5dfd6764c3124035fbf9973 (diff)
We have the full room data already
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/features/bootstrap/FeatureContext.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php
index ed045b27d..f9dea21f4 100644
--- a/tests/integration/features/bootstrap/FeatureContext.php
+++ b/tests/integration/features/bootstrap/FeatureContext.php
@@ -332,13 +332,8 @@ class FeatureContext implements Context, SnippetAcceptingContext {
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;
}
}