You are here

protected function RabbitHoleBehaviorSettingsTest::setUp in Rabbit Hole 8

Same name and namespace in other branches
  1. 2.x tests/src/Functional/RabbitHoleBehaviorSettingsTest.php \Drupal\Tests\rabbit_hole\Functional\RabbitHoleBehaviorSettingsTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/Functional/RabbitHoleBehaviorSettingsTest.php, line 60

Class

RabbitHoleBehaviorSettingsTest
Test the RabbitHoleBehaviorSettings configuration entity functionality.

Namespace

Drupal\Tests\rabbit_hole\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->configFactory = $this->container
    ->get('config.factory');
  $this->behaviorSettingsManager = $this->container
    ->get('rabbit_hole.behavior_settings_manager');
  $this->testNodeType = $this
    ->generateTestNodeType();
}