public function BlazyFormatterTest::todoTestBlazyFile in Blazy 8
Tests the Blazy formatter file.
@todo skip not working, so disabled till figured out. @requires module video_embed_media
File
- tests/
src/ Kernel/ BlazyFormatterTest.php, line 157
Class
- BlazyFormatterTest
- Tests the Blazy image formatter.
Namespace
Drupal\Tests\blazy\KernelCode
public function todoTestBlazyFile() {
$build = $this->display
->build($this->entity);
$render = $this->blazyManager
->getRenderer()
->renderRoot($build);
$this
->assertTrue(strpos($render, 'data-blazy') !== FALSE);
}