You are here

public function PhpUnitBridgeTest::testErrorOnSiteUnderTest in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php \Drupal\FunctionalTests\Core\Test\PhpUnitBridgeTest::testErrorOnSiteUnderTest()

@expectedDeprecation This is the deprecation message for deprecation_test_function().

File

core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php, line 28

Class

PhpUnitBridgeTest
Tests Drupal's integration with Symfony PHPUnit Bridge.

Namespace

Drupal\FunctionalTests\Core\Test

Code

public function testErrorOnSiteUnderTest() {
  $this
    ->drupalGet(Url::fromRoute('deprecation_test.route'));
}