function 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\ImageCode
protected function setUp() : void {
// Use the Druplicon image.
$this->source = __DIR__ . '/../../../../../misc/druplicon.png';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.