You are here

protected function LoadTest::setUp in Admin Menu Swap 8

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

Overrides BrowserTestBase::setUp

File

src/Tests/LoadTest.php, line 32

Class

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

Namespace

Drupal\amswap\Tests

Code

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