You are here

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

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

File

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

Class

ResponsiveImageFieldDisplayTest
Tests responsive image display formatter.

Namespace

Drupal\responsive_image\Tests

Code

public function testResponsiveImageFieldFormattersLinkToNode() {
  $this
    ->addTestImageStyleMappings();
  $this
    ->assertResponsiveImageFieldFormattersLink('content');
}