public function ResponsiveImageFieldDisplayTest::testResponsiveImageFieldFormattersEmptyStyle in Drupal 9
Same name and namespace in other branches
- 8 core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php \Drupal\Tests\responsive_image\Functional\ResponsiveImageFieldDisplayTest::testResponsiveImageFieldFormattersEmptyStyle()
Tests responsive image formatters when image style is empty.
File
- core/
modules/ responsive_image/ tests/ src/ Functional/ ResponsiveImageFieldDisplayTest.php, line 109
Class
- ResponsiveImageFieldDisplayTest
- Tests responsive image display formatter.
Namespace
Drupal\Tests\responsive_image\FunctionalCode
public function testResponsiveImageFieldFormattersEmptyStyle() {
$this
->addTestImageStyleMappings(TRUE);
$this
->doTestResponsiveImageFieldFormatters('public', TRUE);
}