public function BambooTwigRenderTest::testImage in Bamboo Twig 8.2
Same name and namespace in other branches
- 8.5 tests/src/Functional/BambooTwigRenderTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigRenderTest::testImage()
- 8.3 tests/src/Functional/BambooTwigRenderTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigRenderTest::testImage()
- 8.4 tests/src/Functional/BambooTwigRenderTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigRenderTest::testImage()
@covers Drupal\bamboo_twig_loader\TwigExtension\Render::renderImage
File
- tests/
src/ Functional/ BambooTwigRenderTest.php, line 126
Class
- BambooTwigRenderTest
- Tests Renders twig filters and functions.
Namespace
Drupal\Tests\bamboo_twig\FunctionalCode
public function testImage() {
$this
->drupalGet('/bamboo-twig-render');
$this
->assertElementPresent('.test-render div.render-image');
$this
->assertElementPresent('.test-render div.render-image img');
}