You are here

public function ViewsFieldAccessTest::testPublicPermissions in Field Permissions 8.2

Same name and namespace in other branches
  1. 8 tests/src/Kernel/ViewsFieldAccessTest.php \Drupal\Tests\field_permissions\Kernel\ViewsFieldAccessTest::testPublicPermissions()

Test default (public) permissions.

File

tests/src/Kernel/ViewsFieldAccessTest.php, line 152

Class

ViewsFieldAccessTest
Test that custom and private field access works with views.

Namespace

Drupal\Tests\field_permissions\Kernel

Code

public function testPublicPermissions() {
  $this
    ->assertFieldAccess();
}