diff options
author | Clark Tomlinson <fallen013@gmail.com> | 2014-09-22 13:38:46 -0400 |
---|---|---|
committer | Clark Tomlinson <fallen013@gmail.com> | 2014-09-22 13:38:46 -0400 |
commit | 7b6aa3cd3dd57b0415f8a81ace27bed078bab728 (patch) | |
tree | 356621f7661df9a76e5e1d170cfcfbac0669af14 /tests/lib/largefilehelpergetfilesize.php | |
parent | db72270acc2ef8dcf1b04ec5e7ed8ce3fb38d81c (diff) | |
download | nextcloud-server-7b6aa3cd3dd57b0415f8a81ace27bed078bab728.tar.gz nextcloud-server-7b6aa3cd3dd57b0415f8a81ace27bed078bab728.zip |
fixing cache routes
Diffstat (limited to 'tests/lib/largefilehelpergetfilesize.php')
-rw-r--r-- | tests/lib/largefilehelpergetfilesize.php | 3 |
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; } |