summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-04-25 12:24:18 +0200
committerRobin Appelman <icewind@owncloud.com>2014-04-25 12:24:18 +0200
commit4109521ccef38ff2cf16bf0fab7ff4d142d26713 (patch)
treedd02750ffa4a15c1de4e8e9b49e3d35816020f76 /tests
parent6c20a014eaecd19c3f68143485c6f74891ee9643 (diff)
downloadnextcloud-server-4109521ccef38ff2cf16bf0fab7ff4d142d26713.tar.gz
nextcloud-server-4109521ccef38ff2cf16bf0fab7ff4d142d26713.zip
remove outdated test
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/connector/sabre/file.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/lib/connector/sabre/file.php b/tests/lib/connector/sabre/file.php
index 011f8ffb6e3..a9056460a5c 100644
--- a/tests/lib/connector/sabre/file.php
+++ b/tests/lib/connector/sabre/file.php
@@ -102,22 +102,4 @@ class Test_OC_Connector_Sabre_File extends PHPUnit_Framework_TestCase {
$file = new OC_Connector_Sabre_File($view, $info);
$file->setName('/super*star.txt');
}
-
- /**
- * @expectedException Sabre_DAV_Exception_Forbidden
- */
- public function testDeleteSharedFails() {
- $view = $this->getMock('\OC\Files\View', array('getRelativePath'), array(), '', false);
-
- $view->expects($this->any())
- ->method('getRelativePath')
- ->will($this->returnValue('Shared'));
-
- $info = new \OC\Files\FileInfo('/Shared', null, null, array(
- 'permissions' => \OCP\PERMISSION_ALL
- ));
-
- $file = new OC_Connector_Sabre_File($view, $info);
- $file->delete();
- }
}