protected function GraphQLTestBase::userPermissions in GraphQL 8.4
Provides the user permissions that the test user is set up with.
Return value
string[] List of user permissions.
1 call to GraphQLTestBase::userPermissions()
- GraphQLTestBase::setUp in tests/
src/ Kernel/ GraphQLTestBase.php
File
- tests/
src/ Kernel/ GraphQLTestBase.php, line 120
Class
- GraphQLTestBase
- Provides helper methods for kernel tests in GraphQL module.
Namespace
Drupal\Tests\graphql\KernelCode
protected function userPermissions() : array {
return [
'access content',
'bypass graphql access',
];
}