aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/External/ScannerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/tests/External/ScannerTest.php')
-rw-r--r--apps/files_sharing/tests/External/ScannerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/External/ScannerTest.php b/apps/files_sharing/tests/External/ScannerTest.php
index 7daa5f229d2..1a0077cf04b 100644
--- a/apps/files_sharing/tests/External/ScannerTest.php
+++ b/apps/files_sharing/tests/External/ScannerTest.php
@@ -22,10 +22,10 @@ class ScannerTest extends TestCase {
protected function setUp(): void {
parent::setUp();
- $this->storage = $this->getMockBuilder('\OCA\Files_Sharing\External\Storage')
+ $this->storage = $this->getMockBuilder(\OCA\Files_Sharing\External\Storage::class)
->disableOriginalConstructor()
->getMock();
- $this->cache = $this->getMockBuilder('\OC\Files\Cache\Cache')
+ $this->cache = $this->getMockBuilder(\OC\Files\Cache\Cache::class)
->disableOriginalConstructor()
->getMock();
$this->storage->expects($this->any())