public function RoutesTest::notExpectedRoutes in Drupal 9
Same name and namespace in other branches
- 8 core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php \Drupal\Tests\jsonapi\Unit\Routing\RoutesTest::notExpectedRoutes()
Lists routes which should have been created.
File
- core/
modules/ jsonapi/ tests/ src/ Unit/ Routing/ RoutesTest.php, line 233
Class
- RoutesTest
- @coversDefaultClass \Drupal\jsonapi\Routing\Routes @group jsonapi
Namespace
Drupal\Tests\jsonapi\Unit\RoutingCode
public function notExpectedRoutes() {
return [
[
'jsonapi.entity_type_2--bundle_2_1.individual',
],
[
'jsonapi.entity_type_2--bundle_2_1.collection',
],
[
'jsonapi.entity_type_2--bundle_2_1.collection.post',
],
[
'jsonapi.entity_type_2--bundle_2_1.internal.related',
],
[
'jsonapi.entity_type_2--bundle_2_1.internal.relationship',
],
];
}