diff options
author | icewind1991 <robin@icewind.nl> | 2014-02-21 11:21:50 +0100 |
---|---|---|
committer | icewind1991 <robin@icewind.nl> | 2014-02-21 11:21:50 +0100 |
commit | c9ea8af3a6f38c946c004b7c9d0014793773cc21 (patch) | |
tree | 72a0a4119f579e1744282d020c5138a8b1d68188 | |
parent | fe24aafe7d55044e8e03a6ca2fc116174966951e (diff) | |
parent | 229356348826402e4dc8090e1a805f278d6c9ad0 (diff) | |
download | nextcloud-server-c9ea8af3a6f38c946c004b7c9d0014793773cc21.tar.gz nextcloud-server-c9ea8af3a6f38c946c004b7c9d0014793773cc21.zip |
Merge pull request #7348 from owncloud/remove-problematic-test
Remove unit tests which causes the filesystem tests to fail
-rw-r--r-- | tests/lib/connector/sabre/file.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/lib/connector/sabre/file.php b/tests/lib/connector/sabre/file.php index 50b8711a90d..c2f0ffa12d4 100644 --- a/tests/lib/connector/sabre/file.php +++ b/tests/lib/connector/sabre/file.php @@ -49,21 +49,6 @@ class Test_OC_Connector_Sabre_File extends PHPUnit_Framework_TestCase { } /** - * Test setting name with setName() - */ - public function testSetName() { - // setup - $file = new OC_Connector_Sabre_File('/test.txt'); - $file->fileView = $this->getMock('\OC\Files\View', array('isUpdatable'), array(), '', FALSE); - $file->fileView->expects($this->any())->method('isUpdatable')->withAnyParameters()->will($this->returnValue(true)); - $etag = $file->put('test data'); - $file->setName('/renamed.txt'); - $this->assertTrue($file->fileView->file_exists('/renamed.txt')); - // clean up - $file->delete(); - } - - /** * Test setting name with setName() with invalid chars * @expectedException Sabre_DAV_Exception_BadRequest */ |