/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* @covers ::viewElements
*
* @dataProvider dataProvider
*/
public function testRender($tag_count,
$formatter_settings) { $field_config =
$this->
createMediaField('file_video', 'mp4',
$formatter_settings);
file_put_contents('public://file.mp4',
str_repeat('t', 10
));
$file1 = File::
create([ 'uri' => 'public://file.mp4',
'filename' => 'file.mp4',
]);
$file1->
save();
$file2 = File::
create([ 'uri' => 'public://file.mp4',
'filename' => 'file.mp4',
]);