protected function CriticalCssHeadTest::setUp in Critical CSS 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ CriticalCssHeadTest.php, line 29
Class
- CriticalCssHeadTest
- Tests Critical CSS functionality on HTML HEAD.
Namespace
Drupal\Tests\critical_css\FunctionalCode
protected function setUp() {
parent::setUp();
$this
->config('critical_css.settings')
->set('dir_path', '/css/critical')
->save();
$this
->config('critical_css.settings')
->set("enabled", TRUE)
->save();
}