function ServiceDeprecationTest::testNoDeprecations

Same name and namespace in other branches
  1. main 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\Container

Code

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.