protected function FractionFieldTest::setUp in Fraction 8
Same name and namespace in other branches
- 2.x tests/src/Functional/FractionFieldTest.php \Drupal\Tests\fraction\Functional\FractionFieldTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ FractionFieldTest.php, line 35
Class
- FractionFieldTest
- Tests the creation of fraction fields.
Namespace
Drupal\Tests\fraction\FunctionalCode
protected function setUp() {
parent::setUp();
$this
->drupalLogin($this
->drupalCreateUser([
'view test entity',
'administer entity_test content',
'administer content types',
'administer node fields',
'administer node display',
'administer node form display',
'bypass node access',
'administer entity_test fields',
'access administration pages',
]));
}