public function EngineTwigTest::testTwigAttachLibrary in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Functional/Theme/EngineTwigTest.php \Drupal\Tests\system\Functional\Theme\EngineTwigTest::testTwigAttachLibrary()
- 9 core/modules/system/tests/src/Functional/Theme/EngineTwigTest.php \Drupal\Tests\system\Functional\Theme\EngineTwigTest::testTwigAttachLibrary()
Tests the attach of asset libraries.
File
- core/
modules/ system/ tests/ src/ Functional/ Theme/ EngineTwigTest.php, line 145
Class
- EngineTwigTest
- Tests Twig-specific theme functionality.
Namespace
Drupal\Tests\system\Functional\ThemeCode
public function testTwigAttachLibrary() {
$this
->drupalGet('/twig-theme-test/attach-library');
$this
->assertSession()
->responseContains('ckeditor.js');
}