public function EngineTwigTest::testTwigAttachLibrary 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::testTwigAttachLibrary()
Tests the attach of asset libraries.
File
- core/
modules/ system/ src/ Tests/ Theme/ EngineTwigTest.php, line 135 - Contains \Drupal\system\Tests\Theme\EngineTwigTest.
Class
- EngineTwigTest
- Tests Twig-specific theme functionality.
Namespace
Drupal\system\Tests\ThemeCode
public function testTwigAttachLibrary() {
$this
->drupalGet('/twig-theme-test/attach-library');
$this
->assertRaw('ckeditor.js');
}