镜像自地址
https://github.com/nextcloud/server.git
已同步 2024-08-13 02:10:44 +02:00
Fix Files\Storage\Home::testRoot()
这个提交包含在:
父节点
0ab973a3a6
当前提交
53318c4bb5
@ -75,7 +75,12 @@ class Home extends Storage {
|
||||
* Tests that the root path matches the data dir
|
||||
*/
|
||||
public function testRoot() {
|
||||
$this->assertEquals($this->tmpDir, $this->instance->getLocalFolder(''));
|
||||
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(''));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户