diff --git a/core/modules/simpletest/simpletest.install b/core/modules/simpletest/simpletest.install index 4e0ea9b76d..5595a9a36e 100644 --- a/core/modules/simpletest/simpletest.install +++ b/core/modules/simpletest/simpletest.install @@ -21,7 +21,6 @@ function simpletest_requirements($phase) { $has_phpunit = class_exists(TestCase::class); $has_curl = function_exists('curl_init'); - $open_basedir = ini_get('open_basedir'); $requirements['phpunit'] = [ 'title' => t('PHPUnit dependency'), @@ -41,18 +40,6 @@ function simpletest_requirements($phase) { $requirements['curl']['description'] = t('The testing framework requires the PHP cURL library. For more information, see the online information on installing the PHP cURL extension.'); } - // SimpleTest currently needs 2 cURL options which are incompatible with - // having PHP's open_basedir restriction set. - // See https://www.drupal.org/node/674304. - $requirements['php_open_basedir'] = [ - 'title' => t('PHP open_basedir restriction'), - 'value' => $open_basedir ? t('Enabled') : t('Disabled'), - ]; - if ($open_basedir) { - $requirements['php_open_basedir']['severity'] = REQUIREMENT_ERROR; - $requirements['php_open_basedir']['description'] = t('The testing framework requires the PHP open_basedir restriction to be disabled. Check your webserver configuration or contact your web host.'); - } - // Check the current memory limit. If it is set too low, SimpleTest will fail // to load all tests and throw a fatal error. $memory_limit = ini_get('memory_limit');