You are here

protected function ImageTest::setUp in Drupal 8

Same name in this branch
  1. 8 core/tests/Drupal/Tests/Core/Image/ImageTest.php \Drupal\Tests\Core\Image\ImageTest::setUp()
  2. 8 core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php \Drupal\KernelTests\Core\Theme\ImageTest::setUp()
Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Image/ImageTest.php \Drupal\Tests\Core\Image\ImageTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Image/ImageTest.php, line 49

Class

ImageTest
Tests the image class.

Namespace

Drupal\Tests\Core\Image

Code

protected function setUp() {

  // Use the Druplicon image.
  $this->source = __DIR__ . '/../../../../../misc/druplicon.png';
}