From 1b3feb710d59c39a044447159e7b06624b16dd6e Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sun, 12 Oct 2014 18:40:10 +0200 Subject: Use `rawurlencode` since this seems to be expected by cURL Fixes https://github.com/owncloud/core/pull/11501#issuecomment-58794405 --- tests/lib/largefilehelpergetfilesize.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/lib/largefilehelpergetfilesize.php') 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; } -- cgit v1.2.3