Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorbrumsel <brumsel@losecatcher.de>2014-12-04 01:45:57 +0300
committerbrumsel <brumsel@losecatcher.de>2014-12-04 01:45:57 +0300
commit0dcfd5f20b86b5c64cac13407a2d83862fcb0a15 (patch)
tree0291734885ec118418ab3c1a2f89ee72e774f70a /apps
parent4ba520e2144630f05ce5022a48e764d86bc94b28 (diff)
Modified filesort test cases to test for large sizes & timestamps
Diffstat (limited to 'apps')
-rw-r--r--apps/files/tests/helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/tests/helper.php b/apps/files/tests/helper.php
index da902f4f78a..1b7c8eef43a 100644
--- a/apps/files/tests/helper.php
+++ b/apps/files/tests/helper.php
@@ -33,10 +33,10 @@ class Test_Files_Helper extends \Test\TestCase {
*/
private function getTestFileList() {
return array(
- self::makeFileInfo('a.txt', 4, 1000),
+ self::makeFileInfo('a.txt', 4, 2.3 * pow(10, 9)),
self::makeFileInfo('q.txt', 5, 150),
self::makeFileInfo('subdir2', 87, 128, true),
- self::makeFileInfo('b.txt', 166, 800),
+ self::makeFileInfo('b.txt', 2.2 * pow(10, 9), 800),
self::makeFileInfo('o.txt', 12, 100),
self::makeFileInfo('subdir', 88, 125, true),
);