summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/lib/Share20/ManagerTest.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php
index 231b879395f..9bc1531ac7f 100644
--- a/tests/lib/Share20/ManagerTest.php
+++ b/tests/lib/Share20/ManagerTest.php
@@ -1375,24 +1375,6 @@ class ManagerTest extends \Test\TestCase {
}
- public function testLinkCreateChecksSharePermissions() {
- $this->expectException(\Exception::class);
- $this->expectExceptionMessage('Link shares can’t have reshare permissions');
-
- $share = $this->manager->newShare();
-
- $share->setPermissions(\OCP\Constants::PERMISSION_SHARE);
-
- $this->config
- ->method('getAppValue')
- ->will($this->returnValueMap([
- ['core', 'shareapi_allow_links', 'yes', 'yes'],
- ]));
-
- self::invokePrivate($this->manager, 'linkCreateChecks', [$share]);
- }
-
-
public function testLinkCreateChecksNoPublicUpload() {
$this->expectException(\Exception::class);
$this->expectExceptionMessage('Public upload is not allowed');