diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-03-27 17:14:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 17:14:08 +0100 |
commit | 463b388589134fd816f1ff3ee5ce9dc76c3e4035 (patch) | |
tree | dbd2f8cb51cb74e1fa5a34291b8400926772d633 /tests/lib/Files | |
parent | ad63c1da1b1d4781da76239bc54762aa51481b92 (diff) | |
parent | 74936c49eae91470ce2ec0cf1085d334011a4608 (diff) | |
download | nextcloud-server-463b388589134fd816f1ff3ee5ce9dc76c3e4035.tar.gz nextcloud-server-463b388589134fd816f1ff3ee5ce9dc76c3e4035.zip |
Merge pull request #20170 from nextcloud/techdebt/remove-unused-imports
Remove unused imports
Diffstat (limited to 'tests/lib/Files')
-rw-r--r-- | tests/lib/Files/Cache/UpdaterLegacyTest.php | 1 | ||||
-rw-r--r-- | tests/lib/Files/Cache/UpdaterTest.php | 1 | ||||
-rw-r--r-- | tests/lib/Files/EtagTest.php | 1 | ||||
-rw-r--r-- | tests/lib/Files/FileInfoTest.php | 2 | ||||
-rw-r--r-- | tests/lib/Files/Node/FolderTest.php | 1 | ||||
-rw-r--r-- | tests/lib/Files/Node/NodeTest.php | 3 | ||||
-rw-r--r-- | tests/lib/Files/Node/RootTest.php | 2 | ||||
-rw-r--r-- | tests/lib/Files/ObjectStore/ObjectStoreStorageTest.php | 1 | ||||
-rw-r--r-- | tests/lib/Files/SimpleFS/SimpleFileTest.php | 1 | ||||
-rw-r--r-- | tests/lib/Files/SimpleFS/SimpleFolderTest.php | 3 |
10 files changed, 0 insertions, 16 deletions
diff --git a/tests/lib/Files/Cache/UpdaterLegacyTest.php b/tests/lib/Files/Cache/UpdaterLegacyTest.php index 6366a8eb7eb..02cb6d79eb1 100644 --- a/tests/lib/Files/Cache/UpdaterLegacyTest.php +++ b/tests/lib/Files/Cache/UpdaterLegacyTest.php @@ -9,7 +9,6 @@ namespace Test\Files\Cache; use OC\Files\Filesystem as Filesystem; -use OC\Files\Storage\Temporary; use OC\Files\View; /** diff --git a/tests/lib/Files/Cache/UpdaterTest.php b/tests/lib/Files/Cache/UpdaterTest.php index f8880d0f2a8..4c99b24d9d6 100644 --- a/tests/lib/Files/Cache/UpdaterTest.php +++ b/tests/lib/Files/Cache/UpdaterTest.php @@ -10,7 +10,6 @@ namespace Test\Files\Cache; use OC\Files\Filesystem; use OC\Files\Storage\Temporary; -use OC\Files\View; /** * Class UpdaterTest diff --git a/tests/lib/Files/EtagTest.php b/tests/lib/Files/EtagTest.php index 8c6dd1964ab..39069ce4dfe 100644 --- a/tests/lib/Files/EtagTest.php +++ b/tests/lib/Files/EtagTest.php @@ -10,7 +10,6 @@ namespace Test\Files; use OC\Files\Filesystem; use OCP\EventDispatcher\IEventDispatcher; -use OCP\Share; use OCA\Files_Sharing\AppInfo\Application; /** diff --git a/tests/lib/Files/FileInfoTest.php b/tests/lib/Files/FileInfoTest.php index 0037941b629..fd2b506beb9 100644 --- a/tests/lib/Files/FileInfoTest.php +++ b/tests/lib/Files/FileInfoTest.php @@ -8,11 +8,9 @@ namespace Test\Files; -use OC\AllConfig; use OC\Files\FileInfo; use OC\Files\Storage\Home; use OC\Files\Storage\Temporary; -use OC\User\User; use OCP\IConfig; use OCP\IUser; use Test\TestCase; diff --git a/tests/lib/Files/Node/FolderTest.php b/tests/lib/Files/Node/FolderTest.php index 83ebc478370..d2bbf65965a 100644 --- a/tests/lib/Files/Node/FolderTest.php +++ b/tests/lib/Files/Node/FolderTest.php @@ -19,7 +19,6 @@ use OC\Files\Node\Root; use OC\Files\Storage\Temporary; use OC\Files\Storage\Wrapper\Jail; use OC\Files\View; -use OC\User\User; use OCP\Files\Mount\IMountPoint; use OCP\Files\NotFoundException; use OCP\Files\Storage; diff --git a/tests/lib/Files/Node/NodeTest.php b/tests/lib/Files/Node/NodeTest.php index b963a395560..adcf43956be 100644 --- a/tests/lib/Files/Node/NodeTest.php +++ b/tests/lib/Files/Node/NodeTest.php @@ -11,14 +11,11 @@ namespace Test\Files\Node; use OC\Files\FileInfo; use OC\Files\Mount\Manager; use OC\Files\View; -use OCP\Files\Config\IUserMountCache; use OCP\Files\IRootFolder; use OCP\Files\Node; use OCP\Files\NotFoundException; use OCP\Files\Storage; -use OCP\IConfig; use OCP\ILogger; -use OCP\IURLGenerator; use OCP\IUser; use OCP\IUserManager; diff --git a/tests/lib/Files/Node/RootTest.php b/tests/lib/Files/Node/RootTest.php index c78bef07627..6c006d1cf62 100644 --- a/tests/lib/Files/Node/RootTest.php +++ b/tests/lib/Files/Node/RootTest.php @@ -13,9 +13,7 @@ use OC\Files\FileInfo; use OC\Files\Mount\Manager; use OC\Files\Node\Folder; use OC\Files\View; -use OCP\IConfig; use OCP\ILogger; -use OCP\IURLGenerator; use OCP\IUser; use OCP\IUserManager; diff --git a/tests/lib/Files/ObjectStore/ObjectStoreStorageTest.php b/tests/lib/Files/ObjectStore/ObjectStoreStorageTest.php index b8c7b15e039..25ce5525361 100644 --- a/tests/lib/Files/ObjectStore/ObjectStoreStorageTest.php +++ b/tests/lib/Files/ObjectStore/ObjectStoreStorageTest.php @@ -20,7 +20,6 @@ namespace Test\Files\ObjectStore; -use OC\Files\ObjectStore\ObjectStoreStorage; use OC\Files\ObjectStore\StorageObjectStore; use OC\Files\Storage\Temporary; use OCP\Files\ObjectStore\IObjectStore; diff --git a/tests/lib/Files/SimpleFS/SimpleFileTest.php b/tests/lib/Files/SimpleFS/SimpleFileTest.php index 07a7e79c7a3..8de5cf50aa3 100644 --- a/tests/lib/Files/SimpleFS/SimpleFileTest.php +++ b/tests/lib/Files/SimpleFS/SimpleFileTest.php @@ -27,7 +27,6 @@ use OC\Files\SimpleFS\SimpleFile; use OCP\Files\File; use OCP\Files\Folder; use OCP\Files\NotFoundException; -use OCP\Files\NotPermittedException; class SimpleFileTest extends \Test\TestCase { /** @var File|\PHPUnit_Framework_MockObject_MockObject */ diff --git a/tests/lib/Files/SimpleFS/SimpleFolderTest.php b/tests/lib/Files/SimpleFS/SimpleFolderTest.php index b902cac77cc..4cab1136d82 100644 --- a/tests/lib/Files/SimpleFS/SimpleFolderTest.php +++ b/tests/lib/Files/SimpleFS/SimpleFolderTest.php @@ -25,10 +25,7 @@ namespace Test\File\SimpleFS; use OC\Files\SimpleFS\SimpleFolder; use OC\Files\Storage\Temporary; -use OC\Files\View; -use OCP\Files\File; use OCP\Files\Folder; -use OCP\Files\Node; use OCP\Files\NotFoundException; use OCP\Files\SimpleFS\ISimpleFile; use Test\Traits\MountProviderTrait; |