aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php')
-rw-r--r--apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php
index ae678c7e9df..2a6bd96c543 100644
--- a/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php
+++ b/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php
@@ -50,19 +50,19 @@ use Sabre\DAV\Tree;
use Sabre\HTTP\ResponseInterface;
class FilesReportPluginTest extends \Test\TestCase {
- /** @var \Sabre\DAV\Server|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var \Sabre\DAV\Server|\PHPUnit\Framework\MockObject\MockObject */
private $server;
- /** @var \Sabre\DAV\Tree|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var \Sabre\DAV\Tree|\PHPUnit\Framework\MockObject\MockObject */
private $tree;
- /** @var ISystemTagObjectMapper|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var ISystemTagObjectMapper|\PHPUnit\Framework\MockObject\MockObject */
private $tagMapper;
- /** @var ISystemTagManager|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var ISystemTagManager|\PHPUnit\Framework\MockObject\MockObject */
private $tagManager;
- /** @var ITags|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var ITags|\PHPUnit\Framework\MockObject\MockObject */
private $privateTags;
/** @var \OCP\IUserSession */
@@ -71,19 +71,19 @@ class FilesReportPluginTest extends \Test\TestCase {
/** @var FilesReportPluginImplementation */
private $plugin;
- /** @var View|\PHPUnit_Framework_MockObject_MockObject **/
+ /** @var View|\PHPUnit\Framework\MockObject\MockObject **/
private $view;
- /** @var IGroupManager|\PHPUnit_Framework_MockObject_MockObject **/
+ /** @var IGroupManager|\PHPUnit\Framework\MockObject\MockObject **/
private $groupManager;
- /** @var Folder|\PHPUnit_Framework_MockObject_MockObject **/
+ /** @var Folder|\PHPUnit\Framework\MockObject\MockObject **/
private $userFolder;
- /** @var IPreview|\PHPUnit_Framework_MockObject_MockObject * */
+ /** @var IPreview|\PHPUnit\Framework\MockObject\MockObject * */
private $previewManager;
- /** @var IAppManager|\PHPUnit_Framework_MockObject_MockObject * */
+ /** @var IAppManager|\PHPUnit\Framework\MockObject\MockObject * */
private $appManager;
protected function setUp(): void {
@@ -307,7 +307,7 @@ class FilesReportPluginTest extends \Test\TestCase {
->with('222')
->willReturn([$filesNode2]);
- /** @var \OCA\DAV\Connector\Sabre\Directory|\PHPUnit_Framework_MockObject_MockObject $reportTargetNode */
+ /** @var \OCA\DAV\Connector\Sabre\Directory|\PHPUnit\Framework\MockObject\MockObject $reportTargetNode */
$result = $this->plugin->findNodesByFileIds($reportTargetNode, ['111', '222']);
$this->assertCount(2, $result);
@@ -358,7 +358,7 @@ class FilesReportPluginTest extends \Test\TestCase {
->with('222')
->willReturn([$filesNode2]);
- /** @var \OCA\DAV\Connector\Sabre\Directory|\PHPUnit_Framework_MockObject_MockObject $reportTargetNode */
+ /** @var \OCA\DAV\Connector\Sabre\Directory|\PHPUnit\Framework\MockObject\MockObject $reportTargetNode */
$result = $this->plugin->findNodesByFileIds($reportTargetNode, ['111', '222']);
$this->assertCount(2, $result);
@@ -604,7 +604,7 @@ class FilesReportPluginTest extends \Test\TestCase {
$this->assertEquals(['222'], array_values($this->invokePrivate($this->plugin, 'processFilterRules', [$rules])));
}
-
+
public function testProcessFilterRulesInvisibleTagAsUser() {
$this->expectException(\OCP\SystemTag\TagNotFoundException::class);