Skip to content
Snippets Groups Projects
Commit 451a7c34 authored by Kunal Sachdev's avatar Kunal Sachdev Committed by Ted Bowman
Browse files

Issue #3315700 by kunal.sachdev: Remove Environment::setTimeLimit() call from build tests

parent ddc9ddf5
No related branches found
No related tags found
1 merge request!550Issue #3315700: Check if Environment::setTimeLimit(0) can be removed.
......@@ -3,7 +3,6 @@
namespace Drupal\automatic_updates_test;
use Drupal\automatic_updates\Exception\UpdateException;
use Drupal\Component\Utility\Environment;
use Drupal\Core\Controller\ControllerBase;
use Drupal\Core\Render\HtmlResponse;
use Symfony\Component\HttpFoundation\Response;
......@@ -23,8 +22,6 @@ class TestController extends ControllerBase {
* The response object.
*/
public function update(string $to_version): Response {
// Let it take as long as it needs.
Environment::setTimeLimit(0);
/** @var \Drupal\automatic_updates\Updater $updater */
$updater = \Drupal::service('automatic_updates.updater');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment