You are here

public function ImageTest::testGetToolkitId in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Image/ImageTest.php \Drupal\Tests\Core\Image\ImageTest::testGetToolkitId()
  2. 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\Image

Code

public function testGetToolkitId() {
  $this
    ->getTestImage(FALSE);
  $this
    ->assertEquals('gd', $this->image
    ->getToolkitId());
}