diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-26 12:37:49 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-26 12:37:49 +0200 |
commit | e63e246c4894aa7f72feb550d98747890838af0b (patch) | |
tree | 0a22b858800eb40e7a20f80818b30148badd8cb8 /tests/lib/files/view.php | |
parent | 39adadd3e3e50dcf3bf577a22870aaec52f63052 (diff) | |
download | nextcloud-server-e63e246c4894aa7f72feb550d98747890838af0b.tar.gz nextcloud-server-e63e246c4894aa7f72feb550d98747890838af0b.zip |
fix problem with normalizePath when there was a double leading slash
Diffstat (limited to 'tests/lib/files/view.php')
-rw-r--r-- | tests/lib/files/view.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/files/view.php b/tests/lib/files/view.php index 6e7608f596b..adbed5a18b6 100644 --- a/tests/lib/files/view.php +++ b/tests/lib/files/view.php @@ -69,6 +69,9 @@ class View extends \PHPUnit_Framework_TestCase { $this->assertEquals($imageSize, $folderData[1]['size']); $this->assertEquals($textSize, $folderData[2]['size']); $this->assertEquals($storageSize, $folderData[3]['size']); + + $folderView = new \OC\Files\View('/folder'); + $this->assertEquals($rootView->getFileInfo('/folder'), $folderView->getFileInfo('/')); } public function testAutoScan() { |