You are here

public function BlockContentTest::testRelated in JSON:API 8

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/BlockContentTest.php \Drupal\Tests\jsonapi\Functional\BlockContentTest::testRelated()

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

tests/src/Functional/BlockContentTest.php, line 267

Class

BlockContentTest
JSON API integration test for the "BlockContent" content entity type.

Namespace

Drupal\Tests\jsonapi\Functional

Code

public function testRelated() {
  $this
    ->markTestSkipped('Remove this in https://www.drupal.org/project/jsonapi/issues/2940339');
}