protected function StateTransitionFormTest::setUp in State Machine 8
Same name in this branch
- 8 tests/src/Functional/StateTransitionFormTest.php \Drupal\Tests\state_machine\Functional\StateTransitionFormTest::setUp()
- 8 tests/src/FunctionalJavascript/StateTransitionFormTest.php \Drupal\Tests\state_machine\FunctionalJavascript\StateTransitionFormTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ FunctionalJavascript/ StateTransitionFormTest.php, line 32
Class
- StateTransitionFormTest
- Tests the state transition form.
Namespace
Drupal\Tests\state_machine\FunctionalJavascriptCode
protected function setUp() {
parent::setUp();
$user = $this
->drupalCreateUser([
'administer entity_test content',
'view test entity',
]);
$this
->drupalLogin($user);
}