function MachineNameTest::setUp

Overrides BrowserTestBase::setUp

File

core/tests/Drupal/FunctionalJavascriptTests/Core/MachineNameTest.php, line 34

Class

MachineNameTest
Tests for the machine name field.

Namespace

Drupal\FunctionalJavascriptTests\Core

Code

protected function setUp() : void {
  parent::setUp();
  $account = $this->drupalCreateUser([
    'access content',
  ]);
  $this->drupalLogin($account);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.