protected function FieldFormatterFromViewDisplayUITest::setUp in (Entity Reference) Field Formatters 3.x
Same name and namespace in other branches
- 8.2 src/Tests/FieldFormatterFromViewDisplayUITest.php \Drupal\field_formatter\Tests\FieldFormatterFromViewDisplayUITest::setUp()
- 8 src/Tests/FieldFormatterFromViewDisplayUITest.php \Drupal\field_formatter\Tests\FieldFormatterFromViewDisplayUITest::setUp()
Overrides BrowserTestBase::setUp
File
- src/
Tests/ FieldFormatterFromViewDisplayUITest.php, line 33
Class
- FieldFormatterFromViewDisplayUITest
- Ensures that field_formatter UI work correctly.
Namespace
Drupal\field_formatter\TestsCode
protected function setUp() {
parent::setUp();
$this->adminUser = $this
->drupalCreateUser([
'administer taxonomy',
'bypass node access',
]);
$this
->drupalLogin($this->adminUser);
}