public function ImageTest::testGetToolkitId in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Image/ImageTest.php \Drupal\Tests\Core\Image\ImageTest::testGetToolkitId()
Tests \Drupal\Core\Image\Image::getToolkitId().
File
- core/
tests/ Drupal/ Tests/ Core/ Image/ ImageTest.php, line 197
Class
- ImageTest
- Tests the image class.
Namespace
Drupal\Tests\Core\ImageCode
public function testGetToolkitId() {
$this
->getTestImage(FALSE);
$this
->assertEquals('gd', $this->image
->getToolkitId());
}