You are here

protected function RngEventTypeMappingFormTest::setUp in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 8 src/Tests/RngEventTypeMappingFormTest.php \Drupal\rng\Tests\RngEventTypeMappingFormTest::setUp()
  2. 3.x src/Tests/RngEventTypeMappingFormTest.php \Drupal\rng\Tests\RngEventTypeMappingFormTest::setUp()

Overrides RngWebTestBase::setUp

File

src/Tests/RngEventTypeMappingFormTest.php, line 30

Class

RngEventTypeMappingFormTest
Tests RNG event type mapping form.

Namespace

Drupal\rng\Tests

Code

protected function setUp() {
  parent::setUp();
  $user = $this
    ->drupalCreateUser([
    'administer event types',
  ]);
  $this
    ->drupalLogin($user);
  $this->eventType = $this
    ->createEventType('entity_test', 'entity_test');
}