From 299f4aab8e1b1f63205cf70acaa15d59e3ad69b7 Mon Sep 17 00:00:00 2001 From: Bozhidar Date: Fri, 3 May 2024 01:46:09 +0300 Subject: [PATCH] Update AHostingSubscriptionCreateTest.php --- web/tests/Unit/AHostingSubscriptionCreateTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/tests/Unit/AHostingSubscriptionCreateTest.php b/web/tests/Unit/AHostingSubscriptionCreateTest.php index 13b3c81..c23d698 100644 --- a/web/tests/Unit/AHostingSubscriptionCreateTest.php +++ b/web/tests/Unit/AHostingSubscriptionCreateTest.php @@ -61,6 +61,11 @@ class AHostingSubscriptionCreateTest extends ActionTestCase sleep(3); } + if (!$installationSuccess) { + $logContent = file_get_contents($installLogFilePath); + $this->fail('Apache+PHP installation failed. Log: '.$logContent); + } + $this->assertTrue($installationSuccess, 'Apache+PHP installation failed'); // Make unauthorized call