You are here

public function FormatterDependenciesTest::testColorboxConfigDependencies in Video Embed Field 8

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

Test dependencies are created correctly added for the colorbox formatter.

File

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

Class

FormatterDependenciesTest
Test the configuration dependencies are created correctly.

Namespace

Drupal\Tests\video_embed_field\Kernel

Code

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