You are here

protected function ImageFieldTest::setUp in GraphQL 8.3

Overrides GraphQLContentTestBase::setUp

File

modules/graphql_core/tests/src/Kernel/Images/ImageFieldTest.php, line 26

Class

ImageFieldTest
Test file attachments.

Namespace

Drupal\Tests\graphql_core\Kernel\Images

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig('image');
  $this
    ->installSchema('file', 'file_usage');
  $this
    ->installEntitySchema('file');
  $this
    ->addField('image', 'image');
}