summaryrefslogtreecommitdiffstats
path: root/tests/lib/largefilehelpergetfilesize.php
diff options
context:
space:
mode:
authorClark Tomlinson <fallen013@gmail.com>2014-09-22 13:38:46 -0400
committerClark Tomlinson <fallen013@gmail.com>2014-09-22 13:38:46 -0400
commit7b6aa3cd3dd57b0415f8a81ace27bed078bab728 (patch)
tree356621f7661df9a76e5e1d170cfcfbac0669af14 /tests/lib/largefilehelpergetfilesize.php
parentdb72270acc2ef8dcf1b04ec5e7ed8ce3fb38d81c (diff)
downloadnextcloud-server-7b6aa3cd3dd57b0415f8a81ace27bed078bab728.tar.gz
nextcloud-server-7b6aa3cd3dd57b0415f8a81ace27bed078bab728.zip
fixing cache routes
Diffstat (limited to 'tests/lib/largefilehelpergetfilesize.php')
-rw-r--r--tests/lib/largefilehelpergetfilesize.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/largefilehelpergetfilesize.php b/tests/lib/largefilehelpergetfilesize.php
index 86ce6d295cf..21a0aa9a233 100644
--- a/tests/lib/largefilehelpergetfilesize.php
+++ b/tests/lib/largefilehelpergetfilesize.php
@@ -19,7 +19,8 @@ class LargeFileHelperGetFileSize extends \PHPUnit_Framework_TestCase {
public function setUp() {
parent::setUp();
- $this->filename = __DIR__ . '/../data/data.tar.gz';
+ $ds = DIRECTORY_SEPARATOR;
+ $this->filename = dirname(__DIR__) . "{$ds}data{$ds}data.tar.gz";
$this->fileSize = 4195;
$this->helper = new \OC\LargeFileHelper;
}