public function EngineTwigTest::testRenderable in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Theme/EngineTwigTest.php \Drupal\system\Tests\Theme\EngineTwigTest::testRenderable()
Tests the rendering of renderables.
File
- core/
modules/ system/ src/ Tests/ Theme/ EngineTwigTest.php, line 143 - Contains \Drupal\system\Tests\Theme\EngineTwigTest.
Class
- EngineTwigTest
- Tests Twig-specific theme functionality.
Namespace
Drupal\system\Tests\ThemeCode
public function testRenderable() {
$this
->drupalGet('/twig-theme-test/renderable');
$this
->assertRaw('<div>Example markup</div>');
}