public function SecureFieldTest::testSecureField in GraphQL 8.3
Test if a secure field is accessible.
File
- tests/
src/ Kernel/ Framework/ SecureFieldTest.php, line 49
Class
- SecureFieldTest
- Test access restrictions on secure fields.
Namespace
Drupal\Tests\graphql\Kernel\FrameworkCode
public function testSecureField() {
$this
->assertResults('{ secure }', [], [
'secure' => TRUE,
], $this
->defaultCacheMetaData());
}