summaryrefslogtreecommitdiffstats
path: root/application/test/tests/test_filebin_helper.php
AgeCommit message (Collapse)AuthorFilesLines
2018-09-24Remove unused mb_str_pad functionFlorian Pritz1-6/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-09-24Remove unused even_odd functionFlorian Pritz1-8/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-01-31Proper display of expiration duration for less than a dayHrvoje Hodak1-0/+45
2017-02-01return_bytes(): Throw exception on unhandled unit typeFlorian Pritz1-2/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-10Make sure that return_bytes function returns int valueReikion1-0/+1
php_admin_value[post_max_size] in PHP fpm pool config set to big integer (i.e. 106954752) causes fb-client to crash if file is bigger than 10485760 bytes with traceback Traceback (most recent call last): [...] File "/usr/bin/fb", line 138, in upload_files if self.serverConfig is not None and (currentChunkSize + filesize > self.serverConfig["request_max_size"] \ TypeError: unorderable types: int() > str() because api/v2.1.0/file/get_config returns "request_max_size" as string Changes by Florian Pritz: - Add test - Add github PR body as commit message - Split off indentation change Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-02Test filebin_helperFlorian Pritz1-0/+70
Signed-off-by: Florian Pritz <bluewind@xinu.at>