Commit 0146f0f7 authored by alexpott's avatar alexpott

Issue #895656 by smccabe, adinac, andypost, mfb: dom and hash extensions...

Issue #895656 by smccabe, adinac, andypost, mfb: dom and hash extensions already required by system module, do not need to be required by simpletest
parent 0fad2fa8
......@@ -19,7 +19,6 @@ function simpletest_requirements($phase) {
$requirements = array();
$has_curl = function_exists('curl_init');
$has_domdocument = method_exists('DOMDocument', 'loadHTML');
$open_basedir = ini_get('open_basedir');
$requirements['curl'] = array(
......@@ -31,15 +30,6 @@ function simpletest_requirements($phase) {
$requirements['curl']['description'] = t('The testing framework could not be installed because the PHP <a href="http://php.net/manual/curl.setup.php">cURL</a> library is not available.');
}
$requirements['php_domdocument'] = array(
'title' => t('PHP DOMDocument class'),
'value' => $has_domdocument ? t('Enabled') : t('Not found'),
);
if (!$has_domdocument) {
$requirements['php_domdocument']['severity'] = REQUIREMENT_ERROR;
$requirements['php_domdocument']['description'] = t('The testing framework requires the DOMDocument class to be available. Check the configure command at the <a href=":link-phpinfo">PHP info page</a>.', array(':link-phpinfo' => \Drupal::url('system.php')));
}
// SimpleTest currently needs 2 cURL options which are incompatible with
// having PHP's open_basedir restriction set.
// See https://www.drupal.org/node/674304.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment