Merge remote-tracking branch 'origin/support/3.0' into support/3.1

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

View File

@@ -46,8 +46,8 @@ class SetupUtilsTest extends ItopTestCase
$this->assertTrue($bLabelFound, "label '$sLabel' not found");
}
public function CheckGraphvizProvider(){
if (substr(PHP_OS,0,3) === 'WIN'){
public function CheckGraphvizProvider() {
if (substr(PHP_OS, 0, 3) === 'WIN') {
return [];
}
@@ -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',
],
];
}