public function RoutesTest::expectedRoutes in JSON:API 8
Same name and namespace in other branches
- 8.2 tests/src/Unit/Routing/RoutesTest.php \Drupal\Tests\jsonapi\Unit\Routing\RoutesTest::expectedRoutes()
Lists routes which should have been created.
File
- tests/
src/ Unit/ Routing/ RoutesTest.php, line 160
Class
- RoutesTest
- @coversDefaultClass \Drupal\jsonapi\Routing\Routes @group jsonapi
Namespace
Drupal\Tests\jsonapi\Unit\RoutingCode
public function expectedRoutes() {
return [
[
'jsonapi.entity_type_1--bundle_1_1.individual',
],
[
'jsonapi.entity_type_1--bundle_1_1.collection',
],
[
'jsonapi.entity_type_1--bundle_1_1.related',
],
[
'jsonapi.entity_type_1--bundle_1_1.relationship',
],
[
'jsonapi.resource_list',
],
];
}