You are here

protected function RngEventTypeAccessDefaultsTest::setUp in RNG - Events and Registrations 3.x

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

Overrides RngWebTestBase::setUp

File

src/Tests/RngEventTypeAccessDefaultsTest.php, line 19

Class

RngEventTypeAccessDefaultsTest
Tests event type access defaults.

Namespace

Drupal\rng\Tests

Code

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