N°7407 - fix unattended test enhancement

This commit is contained in:
odain
2024-04-09 09:47:04 +02:00
parent 85c576a986
commit ed562c9f73

View File

@@ -64,7 +64,7 @@ class UnattendedInstallTest extends ItopDataTestCase
public function testCallUnattendedInstallFromCLI() {
$sCliPath = realpath(APPROOT."/setup/unattended-install/unattended-install.php");
exec(sprintf("%s %s", PHP_BINARY . " ".$sCliPath), $aOutput, $iCode);
exec(sprintf("%s %s", PHP_BINARY, $sCliPath), $aOutput, $iCode);
$sOutput = implode('\n', $aOutput);
var_dump($sOutput);