Skip to content

Commit d724f9f

Browse files
committed
Fix unit tests, we apparently have some LARGE sizes in there.
1 parent a86b7b9 commit d724f9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Utils/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ public static function printhost(string $hostname, bool $full = false): string
436436
public static function printsize(int $size, int $decimals = 1): string
437437
{
438438
$factor = 1024;
439-
$units = ['B', 'KB', 'MB', 'GB'];
439+
$units = ['B', 'KB', 'MB', 'GB', 'TB', 'PB'];
440440
$display = $size;
441441

442442
$exact = true;

0 commit comments

Comments
 (0)