Mercurial > hg > isophonics-drupal-site
diff core/tests/Drupal/Tests/Core/DrupalTest.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 129ea1e6d783 |
children |
line wrap: on
line diff
--- a/core/tests/Drupal/Tests/Core/DrupalTest.php Thu Feb 28 13:21:36 2019 +0000 +++ b/core/tests/Drupal/Tests/Core/DrupalTest.php Thu May 09 15:33:08 2019 +0100 @@ -358,6 +358,9 @@ * * @covers ::url * @see \Drupal\Core\Routing\UrlGeneratorInterface::generateFromRoute() + * + * @group legacy + * @expectedDeprecation Drupal::url() is deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Instead create a \Drupal\Core\Url object directly, for example using Url::fromRoute() */ public function testUrl() { $route_parameters = ['test_parameter' => 'test'];