diff options
author | Andreas Fischer <bantu@owncloud.com> | 2014-02-18 12:57:44 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2014-05-29 16:26:02 +0200 |
commit | 0417e52134e87c379b3b4c22a53a0c06a711baef (patch) | |
tree | 6677630fd4b4e9b94f8fd02a8b399b2fea142f07 /tests/lib/largefilehelpergetfilesize.php | |
parent | fb4556033a9d39698dbc15b59f3ba76ef6510e33 (diff) | |
download | nextcloud-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.php | 7 |
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) + ); + } } |