protected function RngEventAccessTest::setUp in RNG - Events and Registrations 8.2
Same name in this branch
- 8.2 src/Tests/RngEventAccessTest.php \Drupal\rng\Tests\RngEventAccessTest::setUp()
- 8.2 tests/src/Kernel/RngEventAccessTest.php \Drupal\Tests\rng\Kernel\RngEventAccessTest::setUp()
Same name and namespace in other branches
- 8 src/Tests/RngEventAccessTest.php \Drupal\rng\Tests\RngEventAccessTest::setUp()
- 3.x src/Tests/RngEventAccessTest.php \Drupal\rng\Tests\RngEventAccessTest::setUp()
Overrides RngWebTestBase::setUp
File
- src/
Tests/ RngEventAccessTest.php, line 41
Class
- RngEventAccessTest
- Tests event access.
Namespace
Drupal\rng\TestsCode
protected function setUp() {
parent::setUp();
$this
->drupalPlaceBlock('local_tasks_block');
$this->event_type = $this
->createEventType('entity_test', 'entity_test');
$this->registration_type = $this
->createRegistrationType();
$this->eventManager = \Drupal::service('rng.event_manager');
}