You are here

protected function LoadTest::setUp in Age Field Formatter 3.0.x

Same name and namespace in other branches
  1. 8 src/Tests/LoadTest.php \Drupal\age_field_formatter\Tests\LoadTest::setUp()

Overrides BrowserTestBase::setUp

File

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

Class

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

Namespace

Drupal\age_field_formatter\Tests

Code

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