diff options
author | Joas Schilling <coding@schilljs.com> | 2021-09-30 12:57:22 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-09-30 12:57:22 +0300 |
commit | b1e9bac7df004ade410fc9291cfc3961575e4e8e (patch) | |
tree | ff1959301facb2a1c2d99d5a1fa41588e0303fc4 | |
parent | abbc510f6b3133477548de88647a27d8b6cd0cc8 (diff) |
Fix CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | lib/Model/Session.php | 1 | ||||
-rw-r--r-- | tests/php/Chat/NotifierTest.php | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/Model/Session.php b/lib/Model/Session.php index 7fbf45dca..c2c70e8eb 100644 --- a/lib/Model/Session.php +++ b/lib/Model/Session.php @@ -44,7 +44,6 @@ use OCP\AppFramework\Db\Entity; * @method int getLastPing() */ class Session extends Entity { - public const SESSION_TIMEOUT = 30; public const SESSION_TIMEOUT_KILL = self::SESSION_TIMEOUT * 3 + 10; diff --git a/tests/php/Chat/NotifierTest.php b/tests/php/Chat/NotifierTest.php index 85fd97a15..392be2023 100644 --- a/tests/php/Chat/NotifierTest.php +++ b/tests/php/Chat/NotifierTest.php @@ -553,7 +553,6 @@ class NotifierTest extends TestCase { * @param bool $expected */ public function testShouldParticipantBeNotified(string $actorType, string $actorId, ?int $sessionAge, string $commentActorType, string $commentActorId, array $alreadyNotifiedUsers, bool $expected): void { - $comment = $this->createMock(IComment::class); $comment->method('getActorType') ->willReturn($commentActorType); |