diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-04-25 12:24:18 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-04-25 12:24:18 +0200 |
commit | 4109521ccef38ff2cf16bf0fab7ff4d142d26713 (patch) | |
tree | dd02750ffa4a15c1de4e8e9b49e3d35816020f76 /tests | |
parent | 6c20a014eaecd19c3f68143485c6f74891ee9643 (diff) | |
download | nextcloud-server-4109521ccef38ff2cf16bf0fab7ff4d142d26713.tar.gz nextcloud-server-4109521ccef38ff2cf16bf0fab7ff4d142d26713.zip |
remove outdated test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/connector/sabre/file.php | 18 |
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(); - } } |