Same name in other branches
  1. 5.0.x tests/src/Kernel/Asset/CssOptimizerUnitTest.php \Drupal\Tests\advagg\Kernel\Asset\CssOptimizerUnitTest::setUp()
  2. 8.x-3.x tests/src/Kernel/Asset/CssOptimizerUnitTest.php \Drupal\Tests\advagg\Kernel\Asset\CssOptimizerUnitTest::setUp()
  3. 8.x-4.x tests/src/Kernel/Asset/CssOptimizerUnitTest.php \Drupal\Tests\advagg\Kernel\Asset\CssOptimizerUnitTest::setUp()

File

tests/src/Kernel/Asset/CssOptimizerUnitTest.php, line 38

Class

CssOptimizerUnitTest
Tests the CSS asset optimizer.

Namespace

Drupal\Tests\advagg\Kernel\Asset

Code

protected function setUp() : void {
    parent::setUp();
    $this->installConfig('advagg');
    $this->optimizer = \Drupal::service('advagg.optimizer.css');
    $this->dir = base_path() . 'modules/contrib/advagg/tests/src/Kernel/Asset/';
}