Commit 109ccc0f authored by xjm's avatar xjm

Issue #3084493 by catch, Lendude, dww, tedbow, Mile23, xjm: Fully deprecate...

Issue #3084493 by catch, Lendude, dww, tedbow, Mile23, xjm: Fully deprecate and prepare for removal of SimpleTest module

(cherry picked from commit 31175037)
parent 19ed41e6
...@@ -22,6 +22,12 @@ ...@@ -22,6 +22,12 @@
function simpletest_requirements($phase) { function simpletest_requirements($phase) {
$requirements = []; $requirements = [];
$requirements['deprecation'] = [
'title' => t('Testing (SimpleTest)'),
'value' => t('The <em>Testing</em> (SimpleTest) module is deprecated for removal in Drupal 9. It should not be enabled on production sites. Read <a href="https://www.drupal.org/node/3091784">The Drupal core SimpleTest module is deprecated</a> for alternative ways to run tests during development.'),
'severity' => $phase === 'runtime' ? REQUIREMENT_WARNING : REQUIREMENT_INFO,
];
$has_phpunit = class_exists(TestCase::class); $has_phpunit = class_exists(TestCase::class);
$has_curl = function_exists('curl_init'); $has_curl = function_exists('curl_init');
......
...@@ -384,7 +384,6 @@ public function testUpdatedSite() { ...@@ -384,7 +384,6 @@ public function testUpdatedSite() {
'search', 'search',
'serialization', 'serialization',
'shortcut', 'shortcut',
'simpletest',
'statistics', 'statistics',
'syslog', 'syslog',
'system', 'system',
......
...@@ -386,7 +386,6 @@ public function testUpdatedSite() { ...@@ -386,7 +386,6 @@ public function testUpdatedSite() {
'search', 'search',
'serialization', 'serialization',
'shortcut', 'shortcut',
'simpletest',
'statistics', 'statistics',
'syslog', 'syslog',
'system', 'system',
......
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