diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-11-14 17:06:28 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-11-14 17:08:21 +0100 |
commit | c79a6b3f62948075f7ce67a0294b0410fd61af3d (patch) | |
tree | d67ee83d8c0fd892ce722b40b3f859d76ff20ebe /apps/dav/tests/unit/BackgroundJob/PruneOutdatedSyncTokensJobTest.php | |
parent | 70e2217d1c23dbe7062c188091c0d9f10a5bd84b (diff) | |
download | nextcloud-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.php | 3 |
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; |