public function BlazyUnitTest::providerTestBuildIframeAttributes in Blazy 8
Provide test cases for ::testBuildIframeAttributes().
File
- tests/
src/ Unit/ BlazyUnitTest.php, line 94
Class
- BlazyUnitTest
- @coversDefaultClass \Drupal\blazy\Blazy
Namespace
Drupal\Tests\blazy\UnitCode
public function providerTestBuildIframeAttributes() {
return [
[
[
'media_switch' => 'media',
'ratio' => 'fluid',
],
'iframe_attributes',
],
[
[
'media_switch' => '',
'ratio' => '',
'width' => 640,
'height' => 360,
],
'iframe_attributes',
],
];
}