diff options
author | Joas Schilling <coding@schilljs.com> | 2023-04-24 14:59:02 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-04-24 14:59:02 +0200 |
commit | bc7a0331bee8029742da8a79ef5980ea64c24e45 (patch) | |
tree | 19d7d1c13d3860128fe6c5ce1803a52c54702576 /tests | |
parent | 385cc807fe26a6dfc9bff019d140375fc34f79f3 (diff) |
chore(tests): Remove unused context variables
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/features/bootstrap/FeatureContext.php | 12 |
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 !== ''); } |