You are here

public function EngineTwigTest::testTwigAttachLibrary in Zircon Profile 8

Same name and namespace in other branches
  1. 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\Theme

Code

public function testTwigAttachLibrary() {
  $this
    ->drupalGet('/twig-theme-test/attach-library');
  $this
    ->assertRaw('ckeditor.js');
}