protected function FieldUIIndentationTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/field_ui/tests/src/Functional/FieldUIIndentationTest.php \Drupal\Tests\field_ui\Functional\FieldUIIndentationTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ field_ui/ tests/ src/ Functional/ FieldUIIndentationTest.php, line 29
Class
- FieldUIIndentationTest
- Tests indentation on Field UI.
Namespace
Drupal\Tests\field_ui\FunctionalCode
protected function setUp() {
parent::setUp();
// Create a test user.
$admin_user = $this
->drupalCreateUser([
'access content',
'administer content types',
'administer node display',
]);
$this
->drupalLogin($admin_user);
// Create Basic page node type.
$this
->drupalCreateContentType([
'type' => 'page',
'name' => 'Basic page',
]);
}