function ImageTest::testGetHeight
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Image/ImageTest.php \Drupal\Tests\Core\Image\ImageTest::testGetHeight()
- 8.9.x core/tests/Drupal/Tests/Core/Image/ImageTest.php \Drupal\Tests\Core\Image\ImageTest::testGetHeight()
- 11.x core/tests/Drupal/Tests/Core/Image/ImageTest.php \Drupal\Tests\Core\Image\ImageTest::testGetHeight()
Tests \Drupal\Core\Image\Image::getHeight().
File
-
core/
tests/ Drupal/ Tests/ Core/ Image/ ImageTest.php, line 156
Class
- ImageTest
- Tests the image class.
Namespace
Drupal\Tests\Core\ImageCode
public function testGetHeight() : void {
$this->getTestImage(FALSE);
$this->assertEquals(100, $this->image
->getHeight());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.