summaryrefslogtreecommitdiffstats
path: root/tests/lib/files
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/files')
-rw-r--r--tests/lib/files/storage/home.php12
-rw-r--r--tests/lib/files/storage/storage.php3
2 files changed, 0 insertions, 15 deletions
diff --git a/tests/lib/files/storage/home.php b/tests/lib/files/storage/home.php
index 7e10f09d554..1ed3b137cd4 100644
--- a/tests/lib/files/storage/home.php
+++ b/tests/lib/files/storage/home.php
@@ -82,18 +82,6 @@ class Home extends Storage {
}
/**
- * Tests that the root path matches the data dir
- */
- public function testRoot() {
- if (\OC_Util::runningOnWindows()) {
- // Windows removes trailing slashes when returning paths
- $this->assertEquals(rtrim($this->tmpDir, '/'), $this->instance->getLocalFolder(''));
- } else {
- $this->assertEquals($this->tmpDir, $this->instance->getLocalFolder(''));
- }
- }
-
- /**
* Tests that the home id is in the format home::user1
*/
public function testId() {
diff --git a/tests/lib/files/storage/storage.php b/tests/lib/files/storage/storage.php
index 95dd70bfdac..42bd491df5c 100644
--- a/tests/lib/files/storage/storage.php
+++ b/tests/lib/files/storage/storage.php
@@ -262,9 +262,6 @@ abstract class Storage extends \Test\TestCase {
$this->instance->file_put_contents('/folder/bar.txt', 'asd');
$this->instance->mkdir('/folder/recursive');
$this->instance->file_put_contents('/folder/recursive/file.txt', 'foo');
- $localFolder = $this->instance->getLocalFolder('/folder');
-
- $this->assertTrue(is_dir($localFolder));
// test below require to use instance->getLocalFile because the physical storage might be different
$localFile = $this->instance->getLocalFile('/folder/lorem.txt');