aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-11-01 23:18:44 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-11-02 10:49:42 +0100
commit248d95339d67f05cc0d05d9963750edc2af65f66 (patch)
tree61774ce203bf5fe3b91aa2830a6d4634a69e3065 /tests/lib/Settings
parent35e3d40e803653e2fdfcd775eefc2d8a9a183d80 (diff)
downloadnextcloud-server-248d95339d67f05cc0d05d9963750edc2af65f66.tar.gz
nextcloud-server-248d95339d67f05cc0d05d9963750edc2af65f66.zip
Cleanup some unused sharing methods from the old sharing code
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/lib/Settings')
-rw-r--r--tests/lib/Settings/Admin/SharingTest.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/lib/Settings/Admin/SharingTest.php b/tests/lib/Settings/Admin/SharingTest.php
index 79065fb8d21..c97f22e54b6 100644
--- a/tests/lib/Settings/Admin/SharingTest.php
+++ b/tests/lib/Settings/Admin/SharingTest.php
@@ -28,6 +28,7 @@ use OCP\AppFramework\Http\TemplateResponse;
use OCP\Constants;
use OCP\IConfig;
use OCP\IL10N;
+use OCP\Share\IManager;
use Test\TestCase;
class SharingTest extends TestCase {
@@ -37,15 +38,19 @@ class SharingTest extends TestCase {
private $config;
/** @var IL10N|\PHPUnit_Framework_MockObject_MockObject */
private $l10n;
+ /** @var IManager|\PHPUnit_Framework_MockObject_MockObject */
+ private $shareManager;
public function setUp() {
parent::setUp();
$this->config = $this->getMockBuilder(IConfig::class)->getMock();
$this->l10n = $this->getMockBuilder(IL10N::class)->getMock();
+ $this->shareManager = $this->getMockBuilder(IManager::class)->getMock();
$this->admin = new Sharing(
$this->config,
- $this->l10n
+ $this->l10n,
+ $this->shareManager
);
}