You are here

protected function EntityBasicFieldsTest::userPermissions in GraphQL 8.3

Set the prophesized permissions.

Return value

string[] The permissions to set on the prophesized user.

Overrides GraphQLContentTestBase::userPermissions

File

modules/graphql_core/tests/src/Kernel/Entity/EntityBasicFieldsTest.php, line 21

Class

EntityBasicFieldsTest
Test basic entity fields.

Namespace

Drupal\Tests\graphql_core\Kernel\Entity

Code

protected function userPermissions() {
  $perms = parent::userPermissions();
  $perms[] = 'edit any test content';
  return $perms;
}