You are here

protected function CssMinifierUnitTest::setUp in Advanced CSS/JS Aggregation 8.4

Same name and namespace in other branches
  1. 8.3 advagg_css_minify/tests/src/Kernel/Asset/CssMinifierUnitTest.php \Drupal\Tests\advagg_css_minify\Kernel\Asset\CssMinifierUnitTest::setUp()

Overrides KernelTestBase::setUp

File

advagg_css_minify/tests/src/Kernel/Asset/CssMinifierUnitTest.php, line 32

Class

CssMinifierUnitTest
Tests the CSS asset minifier.

Namespace

Drupal\Tests\advagg_css_minify\Kernel\Asset

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig('advagg_css_minify');
  $this->optimizer = \Drupal::service('advagg.css_minifier');
}