You are here

public function MediaTest::testCollectionFilterAccess in JSON:API 8.2

Same name and namespace in other branches
  1. 8 tests/src/Functional/MediaTest.php \Drupal\Tests\jsonapi\Functional\MediaTest::testCollectionFilterAccess()

File

tests/src/Functional/MediaTest.php, line 404

Class

MediaTest
JSON:API integration test for the "Media" content entity type.

Namespace

Drupal\Tests\jsonapi\Functional

Code

public function testCollectionFilterAccess() {
  $this
    ->doTestCollectionFilterAccessForPublishableEntities('name', 'view media', 'administer media');
}