You are here

protected function ImageFieldFormatterTest::setUp in Entity Embed 8

Same name in this branch
  1. 8 tests/src/Functional/ImageFieldFormatterTest.php \Drupal\Tests\entity_embed\Functional\ImageFieldFormatterTest::setUp()
  2. 8 tests/src/FunctionalJavascript/ImageFieldFormatterTest.php \Drupal\Tests\entity_embed\FunctionalJavascript\ImageFieldFormatterTest::setUp()

Overrides EntityEmbedTestBase::setUp

File

tests/src/Functional/ImageFieldFormatterTest.php, line 39

Class

ImageFieldFormatterTest
Tests the image field formatter provided by entity_embed.

Namespace

Drupal\Tests\entity_embed\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->image = $this
    ->getTestFile('image');
  $this->file = $this
    ->getTestFile('text');
}