You are here

protected function BlazyEntityTest::setUp in Blazy 8.2

Set the default field storage backend for fields created during tests.

Overrides BlazyKernelTestBase::setUp

File

tests/src/Kernel/BlazyEntityTest.php, line 18

Class

BlazyEntityTest
Tests the Blazy entity methods.

Namespace

Drupal\Tests\blazy\Kernel

Code

protected function setUp() {
  parent::setUp();
  $bundle = $this->bundle;
  $settings['fields']['field_text_multiple'] = 'text';
  $this
    ->setUpContentTypeTest($bundle, $settings);
  $this
    ->setUpContentWithItems($bundle);
  $this
    ->setUpRealImage();
}