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