You are here

public function BundleLessEntityTest::testConfiguredField in GraphQL 8.3

Test if a field is available on the user type.

Regression test for: https://github.com/drupal-graphql/graphql/issues/560

File

modules/graphql_core/tests/src/Kernel/Entity/BundleLessEntityTest.php, line 43

Class

BundleLessEntityTest
Tests for bundle-less entities.

Namespace

Drupal\Tests\graphql_core\Kernel\Entity

Code

public function testConfiguredField() {
  $this
    ->assertGraphQLFields([
    [
      'User',
      'fieldTest',
      'Boolean',
    ],
  ]);
}