You are here

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

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

Overrides BrowserTestBase::setUp

6 calls to RngWebTestBase::setUp()
RngEventAccessTest::setUp in src/Tests/RngEventAccessTest.php
RngEventTypeAccessDefaultsTest::setUp in src/Tests/RngEventTypeAccessDefaultsTest.php
RngEventTypeMappingFormTest::setUp in src/Tests/RngEventTypeMappingFormTest.php
RngEventTypeTest::setUp in src/Tests/RngEventTypeTest.php
RngRegistrantRouteTest::setUp in src/Tests/RngRegistrantRouteTest.php

... See full list

6 methods override RngWebTestBase::setUp()
RngEventAccessTest::setUp in src/Tests/RngEventAccessTest.php
RngEventTypeAccessDefaultsTest::setUp in src/Tests/RngEventTypeAccessDefaultsTest.php
RngEventTypeMappingFormTest::setUp in src/Tests/RngEventTypeMappingFormTest.php
RngEventTypeTest::setUp in src/Tests/RngEventTypeTest.php
RngRegistrantRouteTest::setUp in src/Tests/RngRegistrantRouteTest.php

... See full list

File

src/Tests/RngWebTestBase.php, line 31

Class

RngWebTestBase
Sets up page and article content types.

Namespace

Drupal\rng\Tests

Code

protected function setUp() {
  parent::setUp();
  $this->eventManager = $this->container
    ->get('rng.event_manager');
}