EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Integration test no build exception
Yuriicd3f845acb15
diff --git a/tests/integration/Core/Utils.php b/tests/integration/Core/Utils.phpindex 0298c58f58..3354c88162 100644--- a/tests/integration/Core/Utils.php+++ b/tests/integration/Core/Utils.php@@ -29,6 +29,8 @@namespace tests\integration\Core;+use RuntimeException;+class Utils{/**@@ -43,6 +45,10 @@ class Utils$buildDir = dir($path);+ if (!$buildDir) {+ throw new RuntimeException("No test build. Run `grunt test`.");+ }+while ($folderName = $buildDir->read()) {if ($folderName === '.'|| $folderName === '..' || empty($folderName)) {continue;