|
|
|
|
@ -81,18 +81,6 @@ class Home extends Storage {
|
|
|
|
|
parent::tearDown();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 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
|
|
|
|
|
*/
|
|
|
|
|
|