remove outdated test

This commit is contained in:
Robin Appelman 2014-04-25 12:24:18 +02:00
parent 6c20a014ea
commit 4109521cce
1 changed files with 0 additions and 18 deletions

View File

@ -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();
}
}