You are here

protected function StyleguidePageTest::setUp in Simple Style Guide 8

Overrides BrowserTestBase::setUp

File

src/Tests/StyleguidePageTest.php, line 39

Class

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

Namespace

Drupal\simple_styleguide\Tests

Code

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