Commit 808535ad authored by catch's avatar catch

Issue #3092268 by dww, ravi.shankar: Replace call of deprecated drupal_set_time_limit() function

(cherry picked from commit 816be32b)
parent cb5cc6bc
......@@ -6,6 +6,7 @@
*/
use Drupal\Component\FileSystem\FileSystem;
use Drupal\Component\Utility\Environment;
use Drupal\Component\Utility\Html;
use Drupal\Component\Utility\Timer;
use Drupal\Core\Composer\Composer;
......@@ -159,7 +160,7 @@
$test_list = simpletest_script_get_test_list();
// Try to allocate unlimited time to run the tests.
drupal_set_time_limit(0);
Environment::setTimeLimit(0);
simpletest_script_reporter_init();
$tests_to_run = [];
......
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