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