Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix unit tests
Signed-off-by: Swikriti Tripathi <[email protected]>
  • Loading branch information
SwikritiT committed Oct 16, 2023
commit 6588c72e827680146d0d77b05ea419a2c360a709
9 changes: 0 additions & 9 deletions tests/lib/Controller/FilesControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@
use OCP\Files\Config\ICachedMountFileInfo;
use OCP\Files\DavUtil;
use OCP\Files\Node;
use OCP\IConfig;
use OCP\IDBConnection;
use OCP\IL10N;
use OCP\ILogger;
use OCP\IRequest;
use OCP\IUserManager;
use OCP\RichObjectStrings\IValidator;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
use function PHPUnit\Framework\assertSame;
Expand Down Expand Up @@ -1012,10 +1009,7 @@ private function createFilesController(
$this->createMock(IManager::class),
$appManagerMock,
$this->createMock(IDBConnection::class),
$this->createMock(IValidator::class),
$this->createMock(ILogger::class),
$this->createMock(IL10N::class),
$this->createMock(IConfig::class),
$this->createMock(IUserManager::class),
$this->createMock(DavUtil::class)
);
Expand Down Expand Up @@ -1078,10 +1072,7 @@ public function getFilesControllerMock(
$this->createMock(IManager::class),
$appManagerMock,
$this->createMock(IDBConnection::class),
$this->createMock(IValidator::class),
$this->createMock(ILogger::class),
$this->createMock(IL10N::class),
$this->createMock(IConfig::class),
$this->createMock(IUserManager::class),
$davUtilsMock
])
Expand Down