You are here

protected function EntityMutationTest::userPermissions in GraphQL 8.3

Allow to modify all nodes.

Overrides GraphQLContentTestBase::userPermissions

File

modules/graphql_core/tests/src/Kernel/EntityMutation/EntityMutationTest.php, line 23

Class

EntityMutationTest
Test abstract entity mutation classes.

Namespace

Drupal\Tests\graphql_core\Kernel\EntityMutation

Code

protected function userPermissions() {
  $perms = parent::userPermissions();
  $perms[] = 'bypass node access';
  $perms[] = 'administer nodes';
  return $perms;
}