You are here

public function FormatterDependenciesTest::testThumbnailConfigDependencies in Video Embed Field 8.2

Same name and namespace in other branches
  1. 8 tests/src/Kernel/FormatterDependenciesTest.php \Drupal\Tests\video_embed_field\Kernel\FormatterDependenciesTest::testThumbnailConfigDependencies()

Test dependencies are created correctly added for the image formatter.

File

tests/src/Kernel/FormatterDependenciesTest.php, line 52

Class

FormatterDependenciesTest
Test the configuration dependencies are created correctly.

Namespace

Drupal\Tests\video_embed_field\Kernel

Code

public function testThumbnailConfigDependencies() {
  $this
    ->assertFormatterDependencyBehavior([
    'type' => 'video_embed_field_thumbnail',
    'settings' => [
      'image_style' => $this->style
        ->id(),
    ],
  ]);
}