You are here

protected function FeaturesManagerKernelTest::setUp in Features 8.3

Same name and namespace in other branches
  1. 8.4 tests/src/Kernel/FeaturesManagerKernelTest.php \Drupal\Tests\features\Kernel\FeaturesManagerKernelTest::setUp()

Overrides KernelTestBase::setUp

File

tests/src/Kernel/FeaturesManagerKernelTest.php, line 39

Class

FeaturesManagerKernelTest
The Feature Manager Kernel Test.

Namespace

Drupal\Tests\features\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig('features');
  $this
    ->installConfig('system');
  $this->featuresManager = $this->container
    ->get('features.manager');
  $this->configFactory = $this->container
    ->get('config.factory');
}