You are here

protected function FieldOptionsTest::bootEnvironment in Webform CiviCRM Integration 8.5

Bootstraps a basic test environment.

Should not be called by tests. Only visible for DrupalKernel integration tests.

@internal

Overrides KernelTestBase::bootEnvironment

See also

\Drupal\KernelTests\Core\DrupalKernel\DrupalKernelTest

File

tests/src/Kernel/FieldOptionsTest.php, line 22

Class

FieldOptionsTest
@group webform_civicrm

Namespace

Drupal\Tests\webform_civicrm\Kernel

Code

protected function bootEnvironment() {
  parent::bootEnvironment();
  Database::addConnectionInfo('civicrm_test', 'default', $this
    ->getDatabaseConnectionInfo()['default']);
}