protected function SecureFieldTest::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/ SecureFieldTest.php, line 19
Class
- SecureFieldTest
- Test access restrictions on secure fields.
Namespace
Drupal\Tests\graphql\Kernel\FrameworkCode
protected function userPermissions() {
// Don't grant the user field security bypass for this test case.
return [
'execute graphql requests',
];
}