protected function BuildHooksKernelTestBase::setUp in Build Hooks 8.2
Same name and namespace in other branches
- 3.x tests/src/Kernel/BuildHooksKernelTestBase.php \Drupal\Tests\build_hooks\Kernel\BuildHooksKernelTestBase::setUp()
Overrides KernelTestBase::setUp
4 calls to BuildHooksKernelTestBase::setUp()
- CircleBuildHookTest::setUp in modules/
build_hooks_circleci/ tests/ src/ Kernel/ CircleBuildHookTest.php - DeploymentStorageHandlerTest::setUp in tests/
src/ Kernel/ DeploymentStorageHandlerTest.php - DeploymentValidationTest::setUp in tests/
src/ Kernel/ DeploymentValidationTest.php - NetlifyBuildHooksTest::setUp in modules/
build_hooks_netlify/ tests/ src/ Kernel/ NetlifyBuildHooksTest.php
4 methods override BuildHooksKernelTestBase::setUp()
- CircleBuildHookTest::setUp in modules/
build_hooks_circleci/ tests/ src/ Kernel/ CircleBuildHookTest.php - DeploymentStorageHandlerTest::setUp in tests/
src/ Kernel/ DeploymentStorageHandlerTest.php - DeploymentValidationTest::setUp in tests/
src/ Kernel/ DeploymentValidationTest.php - NetlifyBuildHooksTest::setUp in modules/
build_hooks_netlify/ tests/ src/ Kernel/ NetlifyBuildHooksTest.php
File
- tests/
src/ Kernel/ BuildHooksKernelTestBase.php, line 51
Class
- BuildHooksKernelTestBase
- Defines a base kernel test class for Build Hooks module.
Namespace
Drupal\Tests\build_hooks\KernelCode
protected function setUp() {
parent::setUp();
$this
->installConfig('build_hooks');
$this
->installConfig('system');
$this
->installEntitySchema('entity_test');
$this
->installEntitySchema('build_hooks_deployment');
$this
->config('build_hooks.settings')
->set('logging.entity_types', [
'entity_test' => 'entity_test',
])
->save();
}