summaryrefslogtreecommitdiffstats
path: root/tests/lib/User/SessionTest.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-08-01 15:07:53 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-08-01 15:07:53 +0200
commitcb271b759e27c4c26c0e60b7503350682aca33eb (patch)
tree8abf40b337b3f195a8bee32e02851a1e430c8c0a /tests/lib/User/SessionTest.php
parentf74e89bde5892a68500eeea3fa98a511b1d7f7e9 (diff)
downloadnextcloud-server-cb271b759e27c4c26c0e60b7503350682aca33eb.tar.gz
nextcloud-server-cb271b759e27c4c26c0e60b7503350682aca33eb.zip
Fix dynamic property creations in test files
This fixes warnings in PHP 8.2 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/lib/User/SessionTest.php')
-rw-r--r--tests/lib/User/SessionTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/User/SessionTest.php b/tests/lib/User/SessionTest.php
index 0e199e5d5b5..735a3b3d06a 100644
--- a/tests/lib/User/SessionTest.php
+++ b/tests/lib/User/SessionTest.php
@@ -43,6 +43,8 @@ use OC\Security\CSRF\CsrfTokenManager;
class SessionTest extends \Test\TestCase {
/** @var ITimeFactory|MockObject */
private $timeFactory;
+ /** @var IProvider|MockObject */
+ private $tokenProvider;
/** @var IConfig|MockObject */
private $config;
/** @var Throttler|MockObject */