You are here

protected function PermissionsTest::userPermissions in GraphQL 8.3

Set the prophesized permissions.

Return value

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

Overrides ProphesizePermissionsTrait::userPermissions

File

tests/src/Kernel/Framework/PermissionsTest.php, line 20

Class

PermissionsTest
Test if query handling respects permissions properly.

Namespace

Drupal\Tests\graphql\Kernel\Framework

Code

protected function userPermissions() {
  return [];
}