function 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.