You are here

protected function LoadTest::setUp in Field Inheritance 8

Same name and namespace in other branches
  1. 2.0.x tests/src/Functional/LoadTest.php \Drupal\Tests\field_inheritance\Functional\LoadTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/Functional/LoadTest.php, line 39

Class

LoadTest
Simple test to ensure that main page loads with module enabled.

Namespace

Drupal\Tests\field_inheritance\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->user = $this
    ->drupalCreateUser([
    'administer site configuration',
  ]);
  $this
    ->drupalLogin($this->user);
}