You are here

protected function BlazyManagerTest::setUp in Blazy 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/BlazyManagerTest.php \Drupal\Tests\blazy\Kernel\BlazyManagerTest::setUp()

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

Overrides BlazyKernelTestBase::setUp

File

tests/src/Kernel/BlazyManagerTest.php, line 22

Class

BlazyManagerTest
Tests the Blazy manager 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();
}