summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
diff options
context:
space:
mode:
authorVincent Cloutier <vincent1cloutier@gmail.com>2014-10-15 20:59:07 -0400
committerLukas Reschke <lukas@owncloud.com>2014-11-14 16:26:59 +0100
commitfad621140b3fd94c12ddd3b13b37d4c56c5276ff (patch)
tree4176eb03371d9a7f337afe722002d9a7a82cef7b /apps/files_sharing/tests
parent988c85d2922a03346389e3656dc71dfee514e645 (diff)
downloadnextcloud-server-fad621140b3fd94c12ddd3b13b37d4c56c5276ff.tar.gz
nextcloud-server-fad621140b3fd94c12ddd3b13b37d4c56c5276ff.zip
Added download size on public sharing
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r--apps/files_sharing/tests/controller/sharecontroller.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/controller/sharecontroller.php b/apps/files_sharing/tests/controller/sharecontroller.php
index 357184ba692..8dcb2475564 100644
--- a/apps/files_sharing/tests/controller/sharecontroller.php
+++ b/apps/files_sharing/tests/controller/sharecontroller.php
@@ -154,7 +154,8 @@ class ShareControllerTest extends \PHPUnit_Framework_TestCase {
'server2serversharing' => true,
'protected' => 'true',
'dir' => '/',
- 'downloadURL' => null
+ 'downloadURL' => null,
+ 'fileSize' => '33 B'
);
$expectedResponse = new TemplateResponse($this->container['AppName'], 'public', $sharedTmplParams, 'base');
$this->assertEquals($expectedResponse, $response);