protected function CssOptimizerUnitTest::setUp in Advanced CSS/JS Aggregation 8.4
Same name and namespace in other branches
- 8.3 tests/src/Kernel/Asset/CssOptimizerUnitTest.php \Drupal\Tests\advagg\Kernel\Asset\CssOptimizerUnitTest::setUp()
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ Asset/ CssOptimizerUnitTest.php, line 38
Class
- CssOptimizerUnitTest
- Tests the CSS asset optimizer.
Namespace
Drupal\Tests\advagg\Kernel\AssetCode
protected function setUp() {
parent::setUp();
$this
->installConfig('advagg');
$this->optimizer = \Drupal::service('advagg.optimizer.css');
$this->dir = base_path() . 'modules/contrib/advagg/tests/src/Kernel/Asset/';
}