From b0fd33df8704dfdba30f28a4849cbb12e3b63f17 Mon Sep 17 00:00:00 2001 From: Bozhidar Date: Tue, 14 May 2024 18:45:19 +0300 Subject: [PATCH] Update AutoInstallPanelTest.php --- web/tests/Unit/AutoInstallPanelTest.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/tests/Unit/AutoInstallPanelTest.php b/web/tests/Unit/AutoInstallPanelTest.php index 71847c9..4bfc4fe 100644 --- a/web/tests/Unit/AutoInstallPanelTest.php +++ b/web/tests/Unit/AutoInstallPanelTest.php @@ -16,8 +16,12 @@ class AutoInstallPanelTest extends TestCase // // Make Apache+PHP Application Server with all supported php versions and modules $installLogFilePath = storage_path('install-apache-php-log-unit-test.txt'); + //unlink($installLogFilePath); + $phpInstaller = new PHPInstaller(); - $phpInstaller->setPHPVersions(array_keys(SupportedApplicationTypes::getPHPVersions())); + $phpInstaller->setPHPVersions([ + '8.2' + ]); $phpInstaller->setPHPModules(array_keys(SupportedApplicationTypes::getPHPModules())); $phpInstaller->setLogFilePath($installLogFilePath); $phpInstaller->install(); @@ -30,7 +34,7 @@ class AutoInstallPanelTest extends TestCase break; } sleep(3); - + } if (!$installationSuccess) {