protected function RabbitHoleBehaviorInvocationTestBase::setUp in Rabbit Hole 8
Same name and namespace in other branches
- 2.x tests/src/Functional/RabbitHoleBehaviorInvocationTestBase.php \Drupal\Tests\rabbit_hole\Functional\RabbitHoleBehaviorInvocationTestBase::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ RabbitHoleBehaviorInvocationTestBase.php, line 32
Class
- RabbitHoleBehaviorInvocationTestBase
- Base class for the rabbit hole behaviors invocation tests.
Namespace
Drupal\Tests\rabbit_hole\FunctionalCode
protected function setUp() {
parent::setUp();
$this->behaviorSettingsManager = $this->container
->get('rabbit_hole.behavior_settings_manager');
$this
->drupalLogin($this
->drupalCreateUser($this
->getViewPermissions()));
}