summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-04-24 17:25:41 +0200
committerGitHub <noreply@github.com>2023-04-24 17:25:41 +0200
commitd5b4b670757ba519d3ec51a3084523f2bce7819a (patch)
tree19d7d1c13d3860128fe6c5ce1803a52c54702576
parent385cc807fe26a6dfc9bff019d140375fc34f79f3 (diff)
parentbc7a0331bee8029742da8a79ef5980ea64c24e45 (diff)
Merge pull request #9369 from nextcloud/followup/9365/remove-unused-members
chore(tests): Remove unused context variables
-rw-r--r--tests/integration/features/bootstrap/FeatureContext.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php
index 98a1fe5d9..a98184571 100644
--- a/tests/integration/features/bootstrap/FeatureContext.php
+++ b/tests/integration/features/bootstrap/FeatureContext.php
@@ -93,12 +93,6 @@ class FeatureContext implements Context, SnippetAcceptingContext {
/** @var string */
protected $baseRemoteUrl;
- /** @var string */
- protected $lastEtag;
-
- /** @var string */
- protected $lastToken;
-
/** @var array */
protected $createdUsers = [];
@@ -127,10 +121,6 @@ class FeatureContext implements Context, SnippetAcceptingContext {
return self::$identifierToToken[$identifier];
}
- public function getLastConversationToken(): ?string {
- return $this->lastToken;
- }
-
public function getAttendeeId(string $type, string $id, string $room, string $user = null) {
if (!isset(self::$userToAttendeeId[$room][$type][$id])) {
if ($user !== null) {
@@ -292,12 +282,10 @@ class FeatureContext implements Context, SnippetAcceptingContext {
});
if ($formData === null) {
- $this->lastToken = null;
Assert::assertEmpty($rooms);
return;
}
- $this->lastToken = end($rooms)['token'];
$this->assertRooms($rooms, $formData, $shouldOrder !== '');
}