summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/BackgroundJob/PruneOutdatedSyncTokensJobTest.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-11-14 17:06:28 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-11-14 17:08:21 +0100
commitc79a6b3f62948075f7ce67a0294b0410fd61af3d (patch)
treed67ee83d8c0fd892ce722b40b3f859d76ff20ebe /apps/dav/tests/unit/BackgroundJob/PruneOutdatedSyncTokensJobTest.php
parent70e2217d1c23dbe7062c188091c0d9f10a5bd84b (diff)
downloadnextcloud-server-c79a6b3f62948075f7ce67a0294b0410fd61af3d.tar.gz
nextcloud-server-c79a6b3f62948075f7ce67a0294b0410fd61af3d.zip
Fix errors from PHP 8.2 testing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/dav/tests/unit/BackgroundJob/PruneOutdatedSyncTokensJobTest.php')
-rw-r--r--apps/dav/tests/unit/BackgroundJob/PruneOutdatedSyncTokensJobTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/BackgroundJob/PruneOutdatedSyncTokensJobTest.php b/apps/dav/tests/unit/BackgroundJob/PruneOutdatedSyncTokensJobTest.php
index 991caafd597..1de56b37d80 100644
--- a/apps/dav/tests/unit/BackgroundJob/PruneOutdatedSyncTokensJobTest.php
+++ b/apps/dav/tests/unit/BackgroundJob/PruneOutdatedSyncTokensJobTest.php
@@ -34,13 +34,14 @@ use OCA\DAV\BackgroundJob\PruneOutdatedSyncTokensJob;
use OCA\DAV\CalDAV\CalDavBackend;
use OCA\DAV\CardDAV\CardDavBackend;
use OCP\AppFramework\Utility\ITimeFactory;
-use OCP\DB\Exception;
use OCP\IConfig;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Test\TestCase;
class PruneOutdatedSyncTokensJobTest extends TestCase {
+ /** @var ITimeFactory | MockObject */
+ private $timeFactory;
/** @var CalDavBackend | MockObject */
private $calDavBackend;