public function TermTest::testRelated in Drupal 8
Tests GETing related resource of an individual resource.
Expected responses are built by making requests to 'relationship' routes. Using the fetched resource identifiers, if any, all targeted resources are fetched individually. These individual responses are then 'merged' into a single expected ResourceResponse. This is repeated for every relationship field of the resource type under test.
Overrides ResourceTestBase::testRelated
File
- core/
modules/ jsonapi/ tests/ src/ Functional/ TermTest.php, line 475
Class
- TermTest
- JSON:API integration test for the "Term" content entity type.
Namespace
Drupal\Tests\jsonapi\FunctionalCode
public function testRelated() {
$this
->markTestSkipped('Remove this in https://www.drupal.org/project/drupal/issues/2940339');
}