You are here

public function ProvidedFieldsTest::testDefaultThumbnail in Video Embed Field 8

Same name and namespace in other branches
  1. 8.2 modules/video_embed_media/tests/src/Kernel/ProvidedFieldsTest.php \Drupal\Tests\video_embed_media\Kernel\ProvidedFieldsTest::testDefaultThumbnail()

Test the default thumbnail.

File

modules/video_embed_media/tests/src/Kernel/ProvidedFieldsTest.php, line 77

Class

ProvidedFieldsTest
Test the provided fields.

Namespace

Drupal\Tests\video_embed_media\Kernel

Code

public function testDefaultThumbnail() {
  $this
    ->assertEquals('public://media-icons/generic/video.png', $this->mediaVideoPlugin
    ->getDefaultThumbnail());
}