function LegacyFunctionsTest::testDrupalSetTimeLimit

@expectedDeprecation drupal_set_time_limit() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Component\Utility\Environment::setTimeLimit() instead. See https://www.drupal.org/node/3000058. @doesNotPerformAssertions

File

core/tests/Drupal/KernelTests/Core/Common/LegacyFunctionsTest.php, line 30

Class

LegacyFunctionsTest
Tests legacy functions in common.inc.

Namespace

Drupal\KernelTests\Core\Common

Code

public function testDrupalSetTimeLimit() {
    drupal_set_time_limit(1000);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.