You are here

protected function ImageTest::setUp in Drupal 10

Same name in this branch
  1. 10 core/tests/Drupal/Tests/Core/Image/ImageTest.php \Drupal\Tests\Core\Image\ImageTest::setUp()
  2. 10 core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php \Drupal\KernelTests\Core\Theme\ImageTest::setUp()
  3. 10 core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTest.php \Drupal\Tests\ckeditor5\FunctionalJavascript\ImageTest::setUp()
Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Image/ImageTest.php \Drupal\Tests\Core\Image\ImageTest::setUp()
  2. 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() : void {

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