N°7302 Fix SetupUtilsTest::testHumanReadableSize

This commit is contained in:
Pierre Goiffon
2024-03-13 09:37:34 +01:00
parent a337ef3d88
commit 65e6c84477

View File

@@ -93,7 +93,7 @@ class SetupUtilsTest extends ItopTestCase
],
'10 kilobytes' => [
10 * 1024,
'10.24 KB',
'10.24 kB',
],
'10 megabytes' => [
10 * 1024 * 1024,
@@ -111,9 +111,9 @@ class SetupUtilsTest extends ItopTestCase
10 * 1024 * 1024 * 1024 * 1024 * 1024,
'11.26 PB',
],
'10 heptabytes' => [
'10 exabytes' => [
10 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024,
'11.53 HB',
'11.53 EB',
],
];
}