diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-08-23 16:55:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 16:55:42 +0200 |
commit | b888c6146327d842e21988b0d90d6ade4f3a9435 (patch) | |
tree | aa115b3d420cb6ccfa18a6a5af146eff8578b82c /apps/files/tests | |
parent | 5f90a6a5e2da08e7098cc44937c1713375823e74 (diff) | |
parent | 49334e4d9c278d33ce9fd4195b5a12af99821be2 (diff) | |
download | nextcloud-server-b888c6146327d842e21988b0d90d6ade4f3a9435.tar.gz nextcloud-server-b888c6146327d842e21988b0d90d6ade4f3a9435.zip |
Merge pull request #33047 from nextcloud/fix/ijob-logger-deprecated
Deprecated ILogger from IJob
Diffstat (limited to 'apps/files/tests')
-rw-r--r-- | apps/files/tests/BackgroundJob/ScanFilesTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/tests/BackgroundJob/ScanFilesTest.php b/apps/files/tests/BackgroundJob/ScanFilesTest.php index 5b2d52b48d3..cf0120da09d 100644 --- a/apps/files/tests/BackgroundJob/ScanFilesTest.php +++ b/apps/files/tests/BackgroundJob/ScanFilesTest.php @@ -26,6 +26,7 @@ namespace OCA\Files\Tests\BackgroundJob; use OC\Files\Mount\MountPoint; use OC\Files\Storage\Temporary; use OCA\Files\BackgroundJob\ScanFiles; +use OCP\AppFramework\Utility\ITimeFactory; use OCP\EventDispatcher\IEventDispatcher; use OCP\IConfig; use OCP\IUser; @@ -64,6 +65,7 @@ class ScanFilesTest extends TestCase { $dispatcher, $logger, $connection, + $this->createMock(ITimeFactory::class) ]) ->setMethods(['runScanner']) ->getMock(); |