protected function MachineNameTest::setUp in Drupal 9
Same name in this branch
- 9 core/tests/Drupal/FunctionalJavascriptTests/Core/MachineNameTest.php \Drupal\FunctionalJavascriptTests\Core\MachineNameTest::setUp()
- 9 core/modules/migrate/tests/src/Unit/process/MachineNameTest.php \Drupal\Tests\migrate\Unit\process\MachineNameTest::setUp()
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalJavascriptTests/Core/MachineNameTest.php \Drupal\FunctionalJavascriptTests\Core\MachineNameTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
tests/ Drupal/ FunctionalJavascriptTests/ Core/ MachineNameTest.php, line 32
Class
- MachineNameTest
- Tests for the machine name field.
Namespace
Drupal\FunctionalJavascriptTests\CoreCode
protected function setUp() : void {
parent::setUp();
$account = $this
->drupalCreateUser([
'access content',
]);
$this
->drupalLogin($account);
}