Mercurial > hg > isophonics-drupal-site
diff core/tests/Drupal/KernelTests/KernelTestBaseTest.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
line wrap: on
line diff
--- a/core/tests/Drupal/KernelTests/KernelTestBaseTest.php Mon Apr 23 09:33:26 2018 +0100 +++ b/core/tests/Drupal/KernelTests/KernelTestBaseTest.php Mon Apr 23 09:46:53 2018 +0100 @@ -137,6 +137,10 @@ $this->assertInstanceOf('Symfony\Component\HttpFoundation\Request', $new_request); $this->assertSame($new_request, \Drupal::request()); $this->assertSame($request, $new_request); + + // Ensure getting the router.route_provider does not trigger a deprecation + // message that errors. + $this->container->get('router.route_provider'); } /**