summaryrefslogtreecommitdiffstats
path: root/tests/lib/largefilehelpergetfilesize.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2014-02-18 12:57:44 +0100
committerAndreas Fischer <bantu@owncloud.com>2014-05-29 16:26:02 +0200
commit0417e52134e87c379b3b4c22a53a0c06a711baef (patch)
tree6677630fd4b4e9b94f8fd02a8b399b2fea142f07 /tests/lib/largefilehelpergetfilesize.php
parentfb4556033a9d39698dbc15b59f3ba76ef6510e33 (diff)
downloadnextcloud-server-0417e52134e87c379b3b4c22a53a0c06a711baef.tar.gz
nextcloud-server-0417e52134e87c379b3b4c22a53a0c06a711baef.zip
Increase file size limit from 2 GiB to 4 GiB when workarounds are unavailable.
Diffstat (limited to 'tests/lib/largefilehelpergetfilesize.php')
-rw-r--r--tests/lib/largefilehelpergetfilesize.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/lib/largefilehelpergetfilesize.php b/tests/lib/largefilehelpergetfilesize.php
index 001f636a52a..699dd6891ad 100644
--- a/tests/lib/largefilehelpergetfilesize.php
+++ b/tests/lib/largefilehelpergetfilesize.php
@@ -59,4 +59,11 @@ class LargeFileHelperGetFilesize extends \PHPUnit_Framework_TestCase {
$this->helper->getFilesizeViaExec($this->filename)
);
}
+
+ public function testGetFilesizeNative() {
+ $this->assertSame(
+ $this->filesize,
+ $this->helper->getFilesizeNative($this->filename)
+ );
+ }
}