protected function LoadTest::setUp in Current Page Entity Tokens 2.0.x
Same name and namespace in other branches
- 8 tests/src/Functional/LoadTest.php \Drupal\Tests\current_page_entity_tokens\Functional\LoadTest::setUp()
- 1.0.x tests/src/Functional/LoadTest.php \Drupal\Tests\current_page_entity_tokens\Functional\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\Tests\current_page_entity_tokens\FunctionalCode
protected function setUp() {
parent::setUp();
$this->user = $this
->drupalCreateUser([
'administer site configuration',
]);
$this
->drupalLogin($this->user);
}