protected function VarbaseBootstrapParagraphsTests::setUp in Varbase Bootstrap Paragraphs 9.0.x
Same name and namespace in other branches
- 8.7 tests/src/Functional/VarbaseBootstrapParagraphsTests.php \Drupal\Tests\varbase_bootstrap_paragraphs\Functional\VarbaseBootstrapParagraphsTests::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ VarbaseBootstrapParagraphsTests.php, line 43
Class
- VarbaseBootstrapParagraphsTests
- Varbase Bootstrap Paragraphs tests.
Namespace
Drupal\Tests\varbase_bootstrap_paragraphs\FunctionalCode
protected function setUp() {
parent::setUp();
// Insall the Claro admin theme.
$this->container
->get('theme_installer')
->install([
'claro',
]);
// Set the Claro theme as the default admin theme.
$this
->config('system.theme')
->set('admin', 'claro')
->save();
}