You are here

public function ResponsiveImageFieldDisplayTest::testResponsiveImageFieldFormattersEmptyStyle in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php \Drupal\responsive_image\Tests\ResponsiveImageFieldDisplayTest::testResponsiveImageFieldFormattersEmptyStyle()

Test responsive image formatters when image style is empty.

File

core/modules/responsive_image/src/Tests/ResponsiveImageFieldDisplayTest.php, line 92
Contains \Drupal\responsive_image\Tests\ResponsiveImageFieldDisplayTest.

Class

ResponsiveImageFieldDisplayTest
Tests responsive image display formatter.

Namespace

Drupal\responsive_image\Tests

Code

public function testResponsiveImageFieldFormattersEmptyStyle() {
  $this
    ->addTestImageStyleMappings(TRUE);
  $this
    ->doTestResponsiveImageFieldFormatters('public', TRUE);
}