Loading core/modules/system/tests/modules/accept_header_routing_test/tests/Unit/AcceptHeaderMatcherTest.php→core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php +2 −3 Changes for core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php: 2 added lines, 3 removed lines. Original line number Diff line number Diff line <?php namespace Drupal\Tests\accept_header_routing_teste\Unit\Routing; namespace Drupal\Tests\Core\Routing; use Drupal\accept_header_routing_test\Routing\AcceptHeaderMatcher; use Drupal\Tests\Core\Routing\RoutingFixtures; use Drupal\Tests\UnitTestCase; use Symfony\Component\HttpFoundation\Request; Loading Loading @@ -88,7 +87,7 @@ public function testAcceptFiltering($accept_header, $format, $included_route, $e * Confirms that the AcceptHeaderMatcher throws an exception for no-route. * * @expectedException \Symfony\Component\HttpKernel\Exception\NotAcceptableHttpException * @expectedExceptionMessage No route found for the specified formats application/json text/xml. * @expectedExceptionMessage No route found for the specified formats application/json text/xml */ public function testNoRouteFound() { // Remove the sample routes that would match any method. Loading Loading
core/modules/system/tests/modules/accept_header_routing_test/tests/Unit/AcceptHeaderMatcherTest.php→core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php +2 −3 Changes for core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php: 2 added lines, 3 removed lines. Original line number Diff line number Diff line <?php namespace Drupal\Tests\accept_header_routing_teste\Unit\Routing; namespace Drupal\Tests\Core\Routing; use Drupal\accept_header_routing_test\Routing\AcceptHeaderMatcher; use Drupal\Tests\Core\Routing\RoutingFixtures; use Drupal\Tests\UnitTestCase; use Symfony\Component\HttpFoundation\Request; Loading Loading @@ -88,7 +87,7 @@ public function testAcceptFiltering($accept_header, $format, $included_route, $e * Confirms that the AcceptHeaderMatcher throws an exception for no-route. * * @expectedException \Symfony\Component\HttpKernel\Exception\NotAcceptableHttpException * @expectedExceptionMessage No route found for the specified formats application/json text/xml. * @expectedExceptionMessage No route found for the specified formats application/json text/xml */ public function testNoRouteFound() { // Remove the sample routes that would match any method. Loading