public function BambooTwigRenderTest::testViews in Bamboo Twig 8.5
Same name and namespace in other branches
- 8.3 tests/src/Functional/BambooTwigRenderTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigRenderTest::testViews()
- 8.4 tests/src/Functional/BambooTwigRenderTest.php \Drupal\Tests\bamboo_twig\Functional\BambooTwigRenderTest::testViews()
@covers Drupal\bamboo_twig_loader\TwigExtension\Render::getFunctions
File
- tests/
src/ Functional/ BambooTwigRenderTest.php, line 334
Class
- BambooTwigRenderTest
- Tests Renders twig filters and functions.
Namespace
Drupal\Tests\bamboo_twig\FunctionalCode
public function testViews() {
$this
->drupalGet('/bamboo-twig-render');
$this
->assertSession()
->elementExists('css', '.test-render div.render-views');
$this
->assertSession()
->elementExists('css', '.test-render div.render-views .views-element-container');
}