diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/AccessSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/AccessSubscriberTest.php index 6245fdc..46022ea 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/AccessSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/AccessSubscriberTest.php @@ -91,9 +91,9 @@ public function setUp() { } /** - * Tests access denied throws aSymfony\Component\HttpKernel\Exception\AccessDeniedHttpException exception. + * Tests access denied throws an exception. * - * @expectedException Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException + * @expectedException \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException */ public function testAccessSubscriberThrowsAccessDeniedException() { @@ -132,7 +132,7 @@ public function testAccessSubscriberOnlyChecksForRequestsWithRouteObject() { } /** - * Tests that if access is granted, AccessSubscriber will not throw a Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException exception. + * Tests that if access is granted, AccessSubscriber will not throw an exception. */ public function testAccessSubscriberDoesNotAlterRequestIfAccessManagerGrantsAccess() { $this->parameterBag->expects($this->once())