Merge remote-tracking branch 'origin/support/3.2' into develop

This commit is contained in:
Pierre Goiffon
2024-03-13 10:08:40 +01:00

View File

@@ -46,8 +46,8 @@ class SetupUtilsTest extends ItopTestCase
$this->assertTrue($bLabelFound, "label '$sLabel' not found"); $this->assertTrue($bLabelFound, "label '$sLabel' not found");
} }
public function CheckGraphvizProvider(){ public function CheckGraphvizProvider() {
if (substr(PHP_OS,0,3) === 'WIN'){ if (substr(PHP_OS, 0, 3) === 'WIN') {
return []; return [];
} }
@@ -93,7 +93,7 @@ class SetupUtilsTest extends ItopTestCase
], ],
'10 kilobytes' => [ '10 kilobytes' => [
10 * 1024, 10 * 1024,
'10.24 KB', '10.24 kB',
], ],
'10 megabytes' => [ '10 megabytes' => [
10 * 1024 * 1024, 10 * 1024 * 1024,
@@ -111,9 +111,9 @@ class SetupUtilsTest extends ItopTestCase
10 * 1024 * 1024 * 1024 * 1024 * 1024, 10 * 1024 * 1024 * 1024 * 1024 * 1024,
'11.26 PB', '11.26 PB',
], ],
'10 heptabytes' => [ '10 exabytes' => [
10 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024, 10 * 1024 * 1024 * 1024 * 1024 * 1024 * 1024,
'11.53 HB', '11.53 EB',
], ],
]; ];
} }