function DrupalStandardsListenerDeprecationTest::testDeprecation
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Listeners/DrupalStandardsListenerDeprecationTest.php \Drupal\Tests\Core\Listeners\DrupalStandardsListenerDeprecationTest::testDeprecation()
- 10 core/tests/Drupal/Tests/Core/Listeners/DrupalStandardsListenerDeprecationTest.php \Drupal\Tests\Core\Listeners\DrupalStandardsListenerDeprecationTest::testDeprecation()
- 11.x core/tests/Drupal/Tests/Core/Listeners/DrupalStandardsListenerDeprecationTest.php \Drupal\Tests\Core\Listeners\DrupalStandardsListenerDeprecationTest::testDeprecation()
Exercise DrupalStandardsListener's coverage validation.
@covers ::testFunction
File
-
core/
tests/ Drupal/ Tests/ Core/ Listeners/ DrupalStandardsListenerDeprecationTest.php, line 34
Class
- DrupalStandardsListenerDeprecationTest
- Test deprecation error handling by DrupalStandardsListener.
Namespace
Drupal\Tests\Core\ListenersCode
public function testDeprecation() {
// Meaningless assertion so this test is not risky.
$this->assertTrue(TRUE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.