You are here

public function ResponsiveImageFieldDisplayTest::testResponsiveImageFieldFormattersLinkToFile 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::testResponsiveImageFieldFormattersLinkToFile()

Tests responsive image formatters on node display linked to the file.

File

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

Class

ResponsiveImageFieldDisplayTest
Tests responsive image display formatter.

Namespace

Drupal\responsive_image\Tests

Code

public function testResponsiveImageFieldFormattersLinkToFile() {
  $this
    ->addTestImageStyleMappings();
  $this
    ->assertResponsiveImageFieldFormattersLink('file');
}