Allow opening folder lisings on client
Some checks failed
DokuWiki Default Tasks / all (push) Has been cancelled
Some checks failed
DokuWiki Default Tasks / all (push) Has been cancelled
This commit is contained in:
@@ -110,4 +110,13 @@ EOT
|
||||
$this->expectExceptionMessageMatches('/Path not allowed/');
|
||||
$this->path->getPathInfo($path);
|
||||
}
|
||||
|
||||
public function testMapToAliasPath()
|
||||
{
|
||||
$mapped = $this->path->mapToAliasPath('/linux/another/path/some/folder');
|
||||
$this->assertEquals('alias/some/folder', $mapped);
|
||||
|
||||
$unmapped = $this->path->mapToAliasPath('/linux/file/path/example.txt');
|
||||
$this->assertEquals('/linux/file/path/example.txt', $unmapped);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user