protected function TaxonomyEntityReferenceTest::populateRequestService in Entity Share 8.3
Same name and namespace in other branches
- 8.2 modules/entity_share_client/tests/src/Functional/TaxonomyEntityReferenceTest.php \Drupal\Tests\entity_share_client\Functional\TaxonomyEntityReferenceTest::populateRequestService()
Helper function to populate the request service with responses.
Overrides EntityShareClientFunctionalTestBase::populateRequestService
File
- modules/
entity_share_client/ tests/ src/ Functional/ TaxonomyEntityReferenceTest.php, line 112
Class
- TaxonomyEntityReferenceTest
- Functional test class for taxonomy entity reference field.
Namespace
Drupal\Tests\entity_share_client\FunctionalCode
protected function populateRequestService() {
parent::populateRequestService();
// Needs to make the requests when only the referencing content will be
// required.
$selected_entities = [
'es_test_taxonomy_reference',
];
$prepared_url = $this
->prepareUrlFilteredOnUuids($selected_entities, 'node_es_test_en');
$this
->discoverJsonApiEndpoints($prepared_url);
}