summaryrefslogtreecommitdiffstats
path: root/tests/lib/largefilehelpergetfilesize.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-12 18:40:10 +0200
committerLukas Reschke <lukas@owncloud.com>2014-10-14 13:16:23 +0200
commit1b3feb710d59c39a044447159e7b06624b16dd6e (patch)
treeb9befdf7b5e01cec606814f77537af95af0f3460 /tests/lib/largefilehelpergetfilesize.php
parent766314a6be5a24a4bd7d503d9c44998c13fe348b (diff)
downloadnextcloud-server-1b3feb710d59c39a044447159e7b06624b16dd6e.tar.gz
nextcloud-server-1b3feb710d59c39a044447159e7b06624b16dd6e.zip
Use `rawurlencode` since this seems to be expected by cURL
Fixes https://github.com/owncloud/core/pull/11501#issuecomment-58794405
Diffstat (limited to 'tests/lib/largefilehelpergetfilesize.php')
-rw-r--r--tests/lib/largefilehelpergetfilesize.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/largefilehelpergetfilesize.php b/tests/lib/largefilehelpergetfilesize.php
index 21a0aa9a233..58571d641e0 100644
--- a/tests/lib/largefilehelpergetfilesize.php
+++ b/tests/lib/largefilehelpergetfilesize.php
@@ -20,8 +20,8 @@ class LargeFileHelperGetFileSize extends \PHPUnit_Framework_TestCase {
public function setUp() {
parent::setUp();
$ds = DIRECTORY_SEPARATOR;
- $this->filename = dirname(__DIR__) . "{$ds}data{$ds}data.tar.gz";
- $this->fileSize = 4195;
+ $this->filename = dirname(__DIR__) . "{$ds}data{$ds}strängé filename (duplicate #2).txt";
+ $this->fileSize = 446;
$this->helper = new \OC\LargeFileHelper;
}