function ServiceDeprecationTest::testNoDeprecations
Same name and namespace in other branches
- 11.x core/tests/Drupal/FunctionalTests/Core/Container/ServiceDeprecationTest.php \Drupal\FunctionalTests\Core\Container\ServiceDeprecationTest::testNoDeprecations()
Tests just installing the module does not trigger deprecation notices.
File
-
core/
tests/ Drupal/ FunctionalTests/ Core/ Container/ ServiceDeprecationTest.php, line 61
Class
- ServiceDeprecationTest
- Test whether deprecation notices are triggered via \Drupal::service().
Namespace
Drupal\FunctionalTests\Core\ContainerCode
public function testNoDeprecations() : void {
$this->addToAssertionCount(1);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.