Browse Source
Merge pull request #9369 from nextcloud/followup/9365/remove-unused-members
chore(tests): Remove unused context variables
pull/9376/head
Joas Schilling
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
12 deletions
-
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 !== ''); |
|
|
|
} |
|
|
|
|
|
|
|