You are here

protected function ImageTest::setUp in Zircon Profile 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/modules/system/src/Tests/Theme/ImageTest.php \Drupal\system\Tests\Theme\ImageTest::setUp()
Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Image/ImageTest.php \Drupal\Tests\Core\Image\ImageTest::setUp()

@inheritdoc

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Image/ImageTest.php, line 52
Contains \Drupal\Tests\Core\Image\ImageTest.

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';
}