summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-04-12 18:08:14 +0200
committerRobin Appelman <robin@icewind.nl>2023-05-10 19:33:26 +0200
commit2ea41dab93324749164e7c9c380085b8daab6138 (patch)
treea6094b9b32f97b35ec92fb2a52455c59ac7d5597 /apps/files_sharing/tests
parentf734a7646639549b626c05b12a789c8cdedf2511 (diff)
downloadnextcloud-server-2ea41dab93324749164e7c9c380085b8daab6138.tar.gz
nextcloud-server-2ea41dab93324749164e7c9c380085b8daab6138.zip
repair -1 folder sizes for object store background scan
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r--apps/files_sharing/tests/External/ScannerTest.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/External/ScannerTest.php b/apps/files_sharing/tests/External/ScannerTest.php
index 2d2486737dc..8d077715b2d 100644
--- a/apps/files_sharing/tests/External/ScannerTest.php
+++ b/apps/files_sharing/tests/External/ScannerTest.php
@@ -26,9 +26,11 @@ namespace OCA\Files_Sharing\Tests\External;
use OCA\Files_Sharing\External\Scanner;
use Test\TestCase;
+/**
+ * @group DB
+ */
class ScannerTest extends TestCase {
- /** @var \OCA\Files_Sharing\External\Scanner */
- protected $scanner;
+ protected Scanner $scanner;
/** @var \OCA\Files_Sharing\External\Storage|\PHPUnit\Framework\MockObject\MockObject */
protected $storage;
/** @var \OC\Files\Cache\Cache|\PHPUnit\Framework\MockObject\MockObject */