aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/tests/Command/CleanUpTest.php4
-rw-r--r--apps/files_trashbin/tests/Controller/PreviewControllerTest.php12
-rw-r--r--apps/files_trashbin/tests/StorageTest.php4
3 files changed, 10 insertions, 10 deletions
diff --git a/apps/files_trashbin/tests/Command/CleanUpTest.php b/apps/files_trashbin/tests/Command/CleanUpTest.php
index 18ea42e78cc..f9510ac8a5f 100644
--- a/apps/files_trashbin/tests/Command/CleanUpTest.php
+++ b/apps/files_trashbin/tests/Command/CleanUpTest.php
@@ -46,10 +46,10 @@ class CleanUpTest extends TestCase {
/** @var CleanUp */
protected $cleanup;
- /** @var \PHPUnit_Framework_MockObject_MockObject | Manager */
+ /** @var \PHPUnit\Framework\MockObject\MockObject | Manager */
protected $userManager;
- /** @var \PHPUnit_Framework_MockObject_MockObject | IRootFolder */
+ /** @var \PHPUnit\Framework\MockObject\MockObject | IRootFolder */
protected $rootFolder;
/** @var \OC\DB\Connection */
diff --git a/apps/files_trashbin/tests/Controller/PreviewControllerTest.php b/apps/files_trashbin/tests/Controller/PreviewControllerTest.php
index 25d12563429..a07aa46c4d1 100644
--- a/apps/files_trashbin/tests/Controller/PreviewControllerTest.php
+++ b/apps/files_trashbin/tests/Controller/PreviewControllerTest.php
@@ -42,28 +42,28 @@ use OCP\IUserSession;
use Test\TestCase;
class PreviewControllerTest extends TestCase {
- /** @var IRootFolder|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var IRootFolder|\PHPUnit\Framework\MockObject\MockObject */
private $rootFolder;
/** @var string */
private $userId;
- /** @var IMimeTypeDetector|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var IMimeTypeDetector|\PHPUnit\Framework\MockObject\MockObject */
private $mimeTypeDetector;
- /** @var IPreview|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var IPreview|\PHPUnit\Framework\MockObject\MockObject */
private $previewManager;
- /** @var ITimeFactory|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var ITimeFactory|\PHPUnit\Framework\MockObject\MockObject */
private $time;
/** @var PreviewController */
private $controller;
- /** @var ITrashManager|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var ITrashManager|\PHPUnit\Framework\MockObject\MockObject */
private $trashManager;
- /** @var IUserSession|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var IUserSession|\PHPUnit\Framework\MockObject\MockObject */
private $userSession;
protected function setUp(): void {
diff --git a/apps/files_trashbin/tests/StorageTest.php b/apps/files_trashbin/tests/StorageTest.php
index 36628cb08b9..6ca8124bff3 100644
--- a/apps/files_trashbin/tests/StorageTest.php
+++ b/apps/files_trashbin/tests/StorageTest.php
@@ -476,7 +476,7 @@ class StorageTest extends \Test\TestCase {
*/
public function testSingleStorageDeleteFileFail() {
/**
- * @var \OC\Files\Storage\Temporary | \PHPUnit_Framework_MockObject_MockObject $storage
+ * @var \OC\Files\Storage\Temporary | \PHPUnit\Framework\MockObject\MockObject $storage
*/
$storage = $this->getMockBuilder('\OC\Files\Storage\Temporary')
->setConstructorArgs([[]])
@@ -513,7 +513,7 @@ class StorageTest extends \Test\TestCase {
*/
public function testSingleStorageDeleteFolderFail() {
/**
- * @var \OC\Files\Storage\Temporary | \PHPUnit_Framework_MockObject_MockObject $storage
+ * @var \OC\Files\Storage\Temporary | \PHPUnit\Framework\MockObject\MockObject $storage
*/
$storage = $this->getMockBuilder('\OC\Files\Storage\Temporary')
->setConstructorArgs([[]])