diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-06-13 10:15:02 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2022-08-03 15:17:51 +0200 |
commit | fa48430feb911adfb9ae7637fc53e87770441933 (patch) | |
tree | dd02bb8cc1352182525dab4d39bd68988fee14ad /apps/files_sharing/tests | |
parent | 9475cc02b218f7cab402ec0b2b370ed6c68650c1 (diff) | |
download | nextcloud-server-fa48430feb911adfb9ae7637fc53e87770441933.tar.gz nextcloud-server-fa48430feb911adfb9ae7637fc53e87770441933.zip |
Revert "Revert "Remove inefficient fed share scanner""
This reverts commit 6667007bf235b90a7dd105c881cf5802b2a3f83e.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r-- | apps/files_sharing/tests/External/ScannerTest.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/files_sharing/tests/External/ScannerTest.php b/apps/files_sharing/tests/External/ScannerTest.php index 57696a697eb..2d2486737dc 100644 --- a/apps/files_sharing/tests/External/ScannerTest.php +++ b/apps/files_sharing/tests/External/ScannerTest.php @@ -50,18 +50,6 @@ class ScannerTest extends TestCase { $this->scanner = new Scanner($this->storage); } - public function testScanAll() { - $this->storage->expects($this->any()) - ->method('getShareInfo') - ->willReturn(['status' => 'success', 'data' => []]); - - // FIXME add real tests, we are currently only checking for - // Declaration of OCA\Files_Sharing\External\Scanner::*() should be - // compatible with OC\Files\Cache\Scanner::*() - $this->scanner->scanAll(); - $this->addToAssertionCount(1); - } - public function testScan() { $this->storage->expects($this->any()) ->method('getShareInfo') |