protected function RngEventAccessWebTest::setUp in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 tests/src/Functional/RngEventAccessWebTest.php \Drupal\Tests\rng\Functional\RngEventAccessWebTest::setUp()
- 3.x tests/src/Functional/RngEventAccessWebTest.php \Drupal\Tests\rng\Functional\RngEventAccessWebTest::setUp()
Overrides RngBrowserTestBase::setUp
File
- tests/
src/ Functional/ RngEventAccessWebTest.php, line 30
Class
- RngEventAccessWebTest
- Tests manage event access page.
Namespace
Drupal\Tests\rng\FunctionalCode
protected function setUp() {
parent::setUp();
$this->registrationType = $this
->createRegistrationType();
$this
->createEventType('entity_test', 'entity_test');
EventTypeForm::createDefaultRules('entity_test', 'entity_test');
$this->container
->get('router.builder')
->rebuildIfNeeded();
$this->container
->get('plugin.manager.menu.local_action')
->clearCachedDefinitions();
$this
->drupalPlaceBlock('local_actions_block');
}